Dagon
Thanks for replying.
The code is from my site http://makin-trax.co.uk if you'd like to see the code in action.
Select a genre on the left - a list of music will appear on the right. The user then clicks on a track title to play it.
(The mp3s are in a folder called 'images')
This is the piece of code that calls the quicktime player and passes the chosen mp3 to it...
if ($imgname12!="") {
// $imgname12 is the chosen mp3
echo("<p><img src=images/speaker.gif border=0 align=absmiddle> Now playing 30 sec. mono demo...");
echo("<embed src='images/" . $imgname12 . "' autostart=true loop=false width=200 height=100></embed>");
What I'm having trouble with is getting the flash player (the free premiumbeat.com single song player) to accept $imgname12.
Thank you again for your help.