oh yeah i forgot use "group by"
ignore whatever is below, but if that doesn't work try whatever is below.
does it mean your data is stored like this in the database:
row1==>Foo Fighters: All My Life
row2==>Foo Fighters: Everlong
row3==>Foo Fighters: Times Like These
then i don't understand it is only showing just one record, are you sure you added:
"order by ASC" at the end of your query?
ok if it is not giving you the right results then grab all the data from the database and store it in an array like this, do not use order by in your query:
while()
{
$databaseValues[]=$row['songtitle']
}
after you have grabbed that use
$newVal=asort($databaseValues)
use a for loop like this:
for($i=0, $i<=sizeof($newVal); $i++)
{
echo $newVal[$i].'<br>';
}