Cameron B. Prince wrote:
How would I go about determining if a specific key exists in an array?

http://php.net/isset


I want to see if $conf['hOpt'] is defined. is_array only works at the $conf
level.

I tried count(array_keys($conf, 'hOpt')), but always get 0.

if (isset($conf['h0pt']))


--
Stuart

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to