> if (array_key_exists($people, 'Joe') {
> // you know Joe exists
> }
> http://www.php.net/manual/en/function.array-key-exists.php
Hey...cool, I didn't know about that one!
Another one (that is common to my code is:
if (is_array($people["joe"]))
{
// you know Joe exists and is an array
}
John Corry
Neon Cowboy Design
http://www.neoncowboy.com
mail : john at neoncowboy.com
phone : 808.572.8494