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 if a string has only specific characters?
> http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1328
> 
> Sincerely
> 
> berber
> 
> Visit http://www.weberdev.com/ Today!!!
> To see where PHP might take you tomorrow.
> 
> -----Original Message-----
> From: Fredrik [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 13, 2003 2:39 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Char check
> 
> Hi
> 
> I want to check if  $var is a char or an int.
> 
> Freddy
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to