I have a website I'm designing and I need to auto-make divs, Below is a better description of the website and why this would be helpful.
Based On Hobby: Miniature Painting (Little thumb size action-figures)
It allows users to upload an image and add a short description, the website stamps the time, date, and description into a MySQL Database. When this is displayed, it shows the image, then directly below the time and date of upload with the short description beneath. For those who don't know much about miniature painting, you can have thousands of these little guys, but i have decided a cap of 300 - 400 miniatures. I would like 4 miniatures per row, and to auto-position a new div on the desired page when a user uploads a new miniature based on where the last one was positioned. For example, if i have 5 miniatures already submitted, with 4 per row, the next one would be on row 2 at spot 2.
Is there anyway i can achieve this?
Thank You for any support.