RE: FILTER_VALIDATE_INT - newbie question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[sic]

> Before your e-mail, I've considering the use of this:
> if (!is_numeric($telefone))
> {
>   $erros['numberofsomething'] = 'Error - only numbers please.';
> }


I meant this of course:
 if (!is_numeric($numberofsomething))
 {
   $erros['numberofsomething'] = 'Error - only numbers please.';
 }


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux