Hi, I'm relatively new to the workd of PHP and have come across a problem.
I am trying to arrange the results of a mySQL query in a way where the results are placed into seperate div tags down a page so that they are in rows of three.
The first thing I need to do is to count how many start with a or b etc. and then divide that number by three so that the height can expand as more info is added to the database.
Secondly I need to create a header and the three rows of divs before moving onto the next letter. eg.
A
alpha anthony angry
apple ant
artichoke autumn
B
banana buster bang
bart brainwave brains
baby bacon
etc. Is there away this can be acheived simply?
cheers.