Re: String valid?
| From: | Jean-Christian Imbeault | Date: | Mon, 21 Apr 2003 07:18:55 +0000 |
| Subject: | Re: String valid? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144607@lists.php.net to get a copy of this message | ||
Ben9000 wrote:
Is there a simple function in PHP4 which proves that a given string is 100% integer compatible so that I can simply put the value into my DB where there is a INT field? Regexp? <- I dunno much about regexp within PHP4 :SLook up is_numeric() Jean-Christian Imbeault