I have this array ($resultPerCountry) that I built from a simple SQL request (then I group the items by country, resulting with this multidimensional array :
Array
(
[Denmark] => Array
(
[0] => Array
(
[name] => foo
[logo] => foo.png
[country] => Denmark
)
[1] => Array
(
[name] => bar
[logo] => bar.png
[country] => Denmark
)
)
[Finland] => Array
(
[0] => Array
(
[name] => baz
[logo] => baz.png
[country] => Finland
)
)
)
How can I display it so that I have something like this in HTML :
<strong>Denmark</strong>
<p>Foo</p>
<p>Bar</p>
<strong>Finland</strong>
<p>Baz</p>
I'm trying with a simple foreach but i'm getting lost...
Thanks !