> I want to display ONLY thumbnails in table form, incrementing in rows of
> 4 columns. By this I mean that I want to write a script which loops in a
> way that it displays 4 pictures withdrawn from the database into a row,
> and then for the next 4 images, displays them into the next row.

Inside your loop, keep a counter.  When the counter % 4 = 0, echo out a
"</tr>".  If you want to put more images on a row, just change the "4" to
whatever number you want.

Chris


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to