Retrieving elements from an associative array

From: Date: Fri, 17 Mar 2000 18:53:23 +0000
Subject: Retrieving elements from an associative array
Groups: php.dev 
Request: Send a blank email to php-dev+get-16961@lists.php.net to get a copy of this message
Hi, I am wondering if anyone knows how to get the value specified by a certain key of an associative array. Meaning if the user passes something like this: start_html( array("BGCOLOR" => "FFFFFF", "TEXT" => "000000") ); How will I be able to retrieve the BGCOLOR element from within my function (This is a Zend API question). I know there is a zend_hash_get_current_key function which gets the current key of the array, how would I get the current value relating to that key. Thanks, Sterling Hughes sterling@designmultimedia.com

« previous php.dev (#16961) next »