RP Name Check for PHP.
#4

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


Messages In This Thread
RP Name Check for PHP. - by Элиот - 11.12.2012, 19:24
Re: RP Name Check for PHP. - by Luis- - 11.12.2012, 19:26
Re: RP Name Check for PHP. - by Lz - 11.12.2012, 19:31
Re: RP Name Check for PHP. - by ReVo_ - 11.12.2012, 19:44
Re: RP Name Check for PHP. - by Элиот - 11.12.2012, 20:03
Re: RP Name Check for PHP. - by BrandyPenguin - 11.12.2012, 20:44

Forum Jump:


Users browsing this thread: 1 Guest(s)