i'm trying to get individual values from an php foreach loop.
My code is
$foo = array('a' => 'apple', 'b' => 'ball', 'c' => 'coke');
foreach($foo as $key => $item) {
// Need to display only one array value any key like below,
// First entry Key : a
// First entry value: apple
}
Help me to do this ?