Jump to content

Assc Array Keys


watagal

Recommended Posts

Greetings, thanks for all the help so far.I have an assciative array being processed by a foreach loop - How can I extract the key name?foreach ($arr as $a) { echo $a-keyname . ' value is ' . $a;}As always, I'v checked W3 and did a search here,TIA, GAl

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...