Echoing problem...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mellowman
Forum Commoner
Posts: 62
Joined: Sat Nov 22, 2008 5:37 pm

Echoing problem...

Post 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
anantha
Forum Commoner
Posts: 59
Joined: Thu Dec 23, 2010 7:38 pm

Re: Echoing problem...

Post by anantha »

SELECT DISTINCT PL_name FROM tablename;
mellowman
Forum Commoner
Posts: 62
Joined: Sat Nov 22, 2008 5:37 pm

Re: Echoing problem...

Post by mellowman »

your my saveur :D idk how i missed that lol
Post Reply