Ben Litton wrote:
is_numeric will test if it's a numeric string. Maybe is_int should do the same, but apparently it doesn't.You could always do an is_numeric and if it returns true, cast it as an int.
Or use: www.php.net/ctype_digit Ciao ciao -- Matteo Beccati http://phpadsnew.com http://phppgads.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php