RE: [PHP] Char check

2003-03-12 Thread Boaz Yahav
Maybe this can help Check int / integer - checking if a variable is an integer or not. The php is_int() function does not check if the string value is integer or not. http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1705 How to check if a string has only specific characters?

Re: [PHP] Char check

2003-03-12 Thread Pete James
Try is_numeric()? Boaz Yahav wrote: Maybe this can help Check int / integer - checking if a variable is an integer or not. The php is_int() function does not check if the string value is integer or not. http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1705 How to check

Re: [PHP] Char check

2003-02-13 Thread Jason Wong
On Thursday 13 February 2003 20:38, Fredrik wrote: I want to check if $var is a char or an int. manual Variable Functions -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development *