I have an associated array
$myarray = array(
"foo1" => "bar1",
"foo2" => "bar2" );
How can print this as a string?
foreach($myarray as $key => $value) {
echo "Key=" . $key . ", Value=" . $value;
echo "<br>";
}