Re: string vs. integer...
| From: | Steve Werby | Date: | Wed, 07 Feb 2001 16:57:31 +0000 |
| Subject: | Re: string vs. integer... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38567@lists.php.net to get a copy of this message | ||
"Julia A . Case" <julie@MageNet.com> wrote:
> How do I detrmine of a value is a string or a integer? I'm trying to
> tell the differnce between "machine.domain.com" and "192.168.2.1" I was
> going to explode on "." and parse through the data and validate it.
is_numeric(), is_string()
--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/