[eluser]Dcahrakos[/eluser]
I really didnt know what to name the thread, but thats about as close as I can come to describing it....
What im trying to do is this,
I have a table in a database called reviews and it has a few fields, one of them being game, and on my page what im trying to do is use a foreach loop to print out each letter in the alphabet from a-z, and if there is a review in the table that begins with that letter it displays it below the letter, for example
A
(horizontal ruler here)
Game name that starts with A
Another game that starts with A
and so on all through the alphabet.
does anyone know the best way to go about this? I just started using Code Igniter, and im fairly good with PHP, but for some reason the answer to this escapes me.
Thanks in advance.