> or even just
> elseif (!eregi("[^a-zA-Z]"),$num)) { }
But that would not stop other characters.
M@
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP-DB] Forms : Validating user input is integer Steve Farmer
- Re: [PHP-DB] Forms : Validating user input is integer Boclair
- Re: [PHP-DB] Forms : Validating user input is integer Ben Udall
- Re: [PHP-DB] Forms : Validating user input is integer Boclair
- Re: [PHP-DB] Forms : Validating user input is integer Manuel Lemos
- Re: [PHP-DB] Forms : Validating user input is integer boclair
