11.12.2012, 19:44
This check if a "_" is in the name
PHP код:
<?
$name = "HelloWorld";
$pos = strpos($name, "_");
if ($pos === false)
{
echo "no:(";
}
else echo "yes";
?>