|
Posted by Gernot Frisch on 03/07/06 14:02
> This will look for the key 'Fu' in the array $arr and see if it has
> been set
> or not, has nothing to do with the data "Fu" that you are looking
> for. Your array has only the keys 0,1 and 2, so 'Fu' is unset which
> results in false.
Ahhh! split() creates an array (1=>"one", 2=>"two",...)
That was where my mind had a bend.
Thank you for in_array("Fu",$arr)!!!
-Gernot
Navigation:
[Reply to this message]
|