Re[2]: [PHP] Validating form field text input to be a specificvariable type

From: Date: Wed, 07 Apr 2004 13:38:07 +0000
Subject: Re[2]: [PHP] Validating form field text input to be a specificvariable type
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-182620@lists.php.net to get a copy of this message
Hello John, Wednesday, April 7, 2004, 2:05:22 PM, you wrote: JWH> Yeah, but the OP wanted to be able to tell an integer from a real number JWH> from a string. is_numeric() is going to validate 5, 5.5, and 5.05E6, for JWH> example. What about is_integer() ? -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html

« previous php.general (#182620) next »