hi there, i'm looking for a bit of guidance setting up some nested loops. my attempts have yet to yield the desired result so thought i better get some expert advice!
the page in question is:
http://www.softstarrecords.com/links.php
as you can see, there are 4 div.columns and each item (MySql record) is wrapped in a div.box that lives inside a column. what i'd like to do is set up some loops to divide the number of records by 4 and dynamically distribute the boxes so there are the same number in each column, while accounting for the remainder of the division. i'd post code, but frankly my attempts have been pretty off the mark so i'm thinking maybe it's better to just start from scratch with some suggestions.
all of this is so new records can be added to the MySql database and the PHP will continue to evenly fill out the page irregardless of how many records.
if my intent isn't clear please ask for further clarification, and as always thanks so much for your time and energy.