i just have make a little music script my first one http://www.hostrox.com/proj i want that every users after registering can make their own palylist but i don't know how exactly i fetch all sogns from ONE COLUM one by one like songs1.mp2 : songs3.mp3 :songs4 these are save in one colum of playlist of users which are separet with sami colums now i want to fetch them one by one in the shape of playlist when user login thanks & any more idea to improve my script
how about something like this? <?php $play_list = 'songs1.mp2 : songs3.mp3 : songs4'; $songs = explode(' : ', $play_list); $song_counter = 0; foreach ($songs as $song) { echo (++$song_counter) . ') ' . $song . '<br />'; } ?> Code (markup):