I need to build an interface that allows a user to upload an mp3 file and then be able to view their uploaded song through a Flash based jukebox.
Right now, I've got most of the "pieces" to this puzzle assembled and / or figured out. I've got a Flash Jukebox grabbing mp3 files from an XML file that I'm writing using PHP. It works great, but the problem is that I want to somehow pass a variable to this PHP / XML page that dictates from where in the database it's getting its info and I can't figure it out.
Right now, they click on a link and it goes to this Jukebox that's reading from songInfo.php. The php page will grab from the database the appropriate song titles, but how am I going go pull that off?
If the link to the Jukebox is jukebox.php, how do I embed in that link info that can then be passed on to songInfo.php? I want jukebox.php to be nothing more than a jukebox. In other words, I want the link to the Jukebox to be jukebox.php?id=4 and then the id is somehow passed to the songInfo.php file where it's drawing the song info from the database based on the id which is "4." That's what I want to do. How?