Basically I just dont know where to start..

I want to make a table that displayed as many images as there are in the DB. I want the table to only go 4 <td> wide, then move to the next line...etc..

I tried googling a few things, but I couldnt find what i wanted.

If anyone can send a link, or has some advice, it would be greatly appreciated.

In the image i have a link to below, it shows what i want to happen if there is only 3 entries in fig.1, in fig.2, it shows what would happen if there were 7 entries. After the 4th image, it starts on a new line...

i just dont want to have to manually put them in columns and rows because the number of entries is going to change all the time..

Recommended Answers

All 2 Replies

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.