Is there a function like in_array() that will work on keys? Or one that will work on keys and values both at the same time?
to search array keys I usually do: <? if (in_array ('whatever', array_keys ($array))) {do something;} ?>
look for 'each() ' under array functions in the php manual
maybe it works...