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
if the array looks like:
the $key will hold the type (fruit or vegetable) for each array value (orange, banana or carrot)