Page 1 of 1

Echoing problem...

Posted: Thu Dec 30, 2010 8:35 pm
by mellowman
ok so my issue is that i would like to echo out only playlists that are Unique and haven't been echoed out already... Here is an example of the table im using.

Image
So i would only like to echo out Playlist and Playlist 1.

So far the only thing i can do to echo out the table PL_name is...

Code: Select all

SELECT * FROM `".$uid."` ORDER BY Pl_num DESC

Re: Echoing problem...

Posted: Thu Dec 30, 2010 11:55 pm
by anantha
SELECT DISTINCT PL_name FROM tablename;

Re: Echoing problem...

Posted: Fri Dec 31, 2010 12:44 am
by mellowman
your my saveur :D idk how i missed that lol