realcoder Posted June 16, 2010 Share Posted June 16, 2010 i just make a very little script my first one 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 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 More sharing options...
Jax2 Posted June 16, 2010 Share Posted June 16, 2010 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 Link to comment https://forums.phpfreaks.com/topic/204943-playlist-for-every-user/#findComment-1072996 Share on other sites More sharing options...
realcoder Posted June 16, 2010 Author Share Posted June 16, 2010 well bro i understand ur idea od using unique id of song but the problem how i fetch them in playlist because all ids will save in one colum like 2:3:6:7 like these are song save in one colum now hot fetch them separtey,....? Link to comment https://forums.phpfreaks.com/topic/204943-playlist-for-every-user/#findComment-1073120 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.