\n"; echo "\n"; echo " Sample PHP Generated Playlist\n"; echo " http://www.jeroenwijering.com/\n"; echo " \n"; // .. then we loop through the mysql array .. while($row = @mysql_fetch_array($result)) { echo " \n"; echo " ".$row['title']."\n"; echo " ".$row['file']."\n"; echo " ".$row['link']."\n"; echo " \n"; } // .. and last we add the closing tags echo " \n"; echo "\n"; /* That's it! You can feed this playlist to the SWF by setting this as it's 'file' parameter in HTML. Assuming you use the mp3player, the HTML code looks like this: */ ?>