Hi all,
I have MP3 player from
and I want to put it in my page. I want it to appear in every page. I'm pretty new to many PHP stuffs and with PHP page I judt do simple include statement. How do I do that?

Here is their sample code to use with player and it works when the file is in the same folder. I know almost nothing about javascripting

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sample Flash Music Player Embed Code</title>

* Change autoPlay to "yes" if you want the music track to start automatically once loaded

More instructions at:


<!-- Begin Copy/Paste -->

<script type="text/javascript" src="swfobject.js"></script>
<div id="flashPlayer">
  This text will be replaced by the flash music player.

<script type="text/javascript">
   var so = new SWFObject("playerMultipleList.swf", "mymovie", "295", "200", "7", "#FFFFFF");  

<!-- End Copy/Paste -->


Ok I have made a progress
I have successful embeded my js code in php. The problem is, the list doesn't load! I wonder if one can see the error I have made!

Note: I forgot to say that my index file is at "/elijah/index.php" and the player is at "/elijah/player"

the code I have embedded in my index.php

echo "<script language='javascript' src='/elijah/player/swfobject.js'> </script> \n ";
echo "<div id='flashPlayer'> \n ";
echo "  This text will be replaced by the flash music player.\n ";
echo "</div>\n";
echo "<script language='javascript'>\n ";
echo "  var so = new SWFObject('/elijah/player/playerMultipleList.swf', 'mymovie', '295', '200', '7', '#FFFFFF')\n ";
echo "   so.addVariable('autoPlay','no')\n ";
echo "   so.addVariable('playlistPath','/elijah/player/playlist.xml')\n ";
echo "   so.write('flashPlayer')\n ";
echo "</script> \n ";