I have this image source <img src=....> I want it to be displayed in a table that has as many rows as the picture in the database increases but limitted to five rows.

For exmaple, if the table has one picture,

then

Code:
<table>
<tr><td><img src....>
</td></tr></table>
But if the database has 2 pictures, then another row is automatically added to the page, that would be second row to store second picture.