
Originally Posted by
john tindell
You need to use
urlencode as the you have two '?' within the URL which will throw off php.
PHP Code:
<html>
<head>
<title>JW Flash MP3 Player</title>
</head>
<body>
<object type="application/x-shockwave-flash" width="280" height="280"
data="mp3player.swf?playlist=<?= urlencode('playlist3.php?Id[]=3&Id[]=7') ?>">
<param name="movie" value="mp3player.swf?playlist=playlist=<?= urlencode('playlist3.php?Id[]=3&Id[]=7') ?>" />
</object>
</body>
</html>
Thank u for u reply. I tried your code by putting it inside php file and run it now the first song also does not play!!! Here i the code the out put in browser:
Code:
<html>
<head>
<title>JW Flash MP3 Player</title>
</head>
<body>
<object type="application/x-shockwave-flash" width="280" height="280"
data="mp3player.swf?playlist=playlist3.php%3FId%5B%5D%3D3%26Id%5B%5D%3D7">
<param name="movie" value="mp3player.swf?playlist=playlist=playlist3.php%3FId%5B%5D%3D3%26Id%5B%5D%3D7" />
</object>
</body>
</html>