I have this 2d array as $array.:
[
'name' => 'Lorem Ipsum', 'REX_MEDIA_1' => 'wave01.png'],
'name' => 'Test', 'REX_MEDIA_1' => 'background.jpg'],
]
I would like to format the array-output. For each value there should be something like this:
<div style="background:url(REX_MEDIA_1);"><p>name</p></div>
Which is the best way to do something like that?
foreachloop is your "friend"