I'm displaying a list of thumbnails from mysql.
My fields are named img1 thru img30
Some of the fields at the end are empty on each row.
ie img10 thru img30 are empty
on another row they are full.
How can I build a table w/ cells display block of thumbnails and only show the fields that are full?
I'd like to increment up on each one of the field names (img) to make a shorter php script.