Originally posted by ctalmadg
Have the key - I want the value of the key..
poirot's probably got the solution for you there; the problem is that "the value of the key" doesn't really make much sense. Here's an example array so that we can get on the same page:
$array = array(
'foo' => 'wibble',
'bar' => 'womble',
'baz' => 'woggle'
);
Okay, the keys of the array are "foo", "bar", and "baz", the values of the array are "wibble", "womble", and "woggle". Could you point out for us what the value of the "foo" key is? If you mean "wibble", then LordShryku gave you the answer.