Modify JS with php with data from mysql

I have this :

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

<script type="text/javascript">
   var so = new SWFObject("playerMini.swf", "mymovie", "75", "30", "7", "#FFFFFF");
   so.addVariable("autoPlay", "no");
   so.addVariable("soundPath", "song.mp3");
   so.write("flashPlayer");
</script>

Can anyone help how to modify the code with the result that “soundPath” is take from mysql database.

Thanks a lot before