Posted by Justin Koivisto on 11/12/05 01:26
sjreichard@gmail.com wrote:
> I need to write a script that scans through several arrays. I need to
> determine if the key is blank, numeric or a string like below:
>
> $array[] = key is blank (I know if will set it to 0 during a
> loop)
> $array['string'] = key is a string
> $array[3] = key is numeric
Actually, if a key is "blank" - it is actually a string (empty string)
and there can only be one of those in any given array...
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
[Back to original message]
|