alright I am pulling data from the database using a key variable as my search limitation to get the right data. Here is my problem I want to pull out all the songs made by a particular artist and organize and separate them and put them automatically where the album is. I know this isnt very clear so I will give a quick example (by the way this is a lyrics site)
http://mysite.com/artist.php?id=yellowca rd
ok id = yellowcard this will be used in a mysql query to limit down all the yellowcard songs in the database
Artist ---------------- Album ----------------------- Song
yellowcard / Paper Walls / Fighting
yellowcard / Lights and Sounds / Lights and Sounds
yellowcard / Paper Walls / Light up The Sky
ok above is the results pulled from the database notice the seperate albums now here is what I want to do with this.
(pretend below is a page result organizing the albums with the songs associated with them)
Album Paper Walls
-----------------------------
Light up The Sky
Fighting
Album Lights and Sounds
------------------------------------
Lights and Sounds
Once I get the results how do I seperate them like what I just did all help would be greatly appreciated