I have a parent/child relationship in my database tables. Categories being the parent, and links being the children.
I composed a query that retrieves a list of Categories with the underlying links, by means of a simple JOIN.Now I want the front-end code to essentially loop through the categories, assign them one particular style, then add the different links below the category, and when done, move to the next category. I also would not mind somehow seeing something clever being done to position the categories in a way that has them spread out evenly across three or so columns.
And ideas would be highly appreciated