I have a mosaic mounted in html and css, what I need is to mount an array bringing the last posts of the database, and list in it, going through all the divs in sequence, I always programmed an array for a DIV only, I'm using PHP instead of PHP.
for example the mosaic would look something like this:
<div id="1" width="200"><p>Postagem 1 dia 22/01/2001</p></div>
<div id="2" width="50"><p>Postagem 2 dia 27/02/2001</p></div>
<div id="3" width="100"><p>Postagem 3 dia 30/03/2001</p></div>