Jump to content

playlist for every user ?


realcoder

Recommended Posts

i just make a very little script my first one  :P

http://www.hostrox.com/proj

here is stil not desinged complety

but i want to add one more future in this that every user can make his own playlist after registering... i have make a table of users where is one COLUM is playlist.. i can send name of song in that colum & for separating that song name i'll use : or any other symbol

but problem is that how i'll fetch that all songs one by one in my playlist

please suggest me some good code for making a good playlist :(

i'll be very tahnkfull to all of you :confused:

and also help how can i make this more good and also in SEO

Link to comment
https://forums.phpfreaks.com/topic/204943-playlist-for-every-user/
Share on other sites

Better way of doing it is to just use a table to store all the songs in with their own unique ID, and then in the songlist of the player, reference that ID for each song they have in their list... make sense?

 

I.e.

 

1 Song1

2 Song2

3 Song3

4 Song4

 

User 1 Playlist

1,3,4

 

So the playlist would show that user has songs 1, 3 and 4 saved to their playlist...

 

Otherwise, you're going to be making a lot more work for yourself :P

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.