I have a database call and I\'m trying to figure out what the $key => $value does in a foreach loop.
$key => $value
foreach
The reason I ask is because both these
here $key will contain the $key associated with $value in $featured. The difference is that now you have that key.
array("thekey"=>array("name"=>"joe"))
here $value is
array("name"=>"joe")
$key is "thekey"