$data = array(
"1" => "One",
"A" => "Apple",
"B" => "Ball",
"C" => "Cat"
);
foreach ($data as $key => $value)
{
echo $key."=".$value;
echo "<br/>";
}
Output:
1=One
A=Apple
B=Ball
c=Cat
"1" => "One",
"A" => "Apple",
"B" => "Ball",
"C" => "Cat"
);
foreach ($data as $key => $value)
{
echo $key."=".$value;
echo "<br/>";
}
Output:
1=One
A=Apple
B=Ball
c=Cat