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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php