hello,
i'm trying to dynamically generate a windows media file based on info pulling from a database. The code I've used gives me a parse error:
?php
$dbh=mysql_connect ("localhost", "ettico05_admin", "admin") or die ('I cannot connect to the
database because: ' . mysql_error());
mysql_select_db ("ettico05_nuke");
$result = mysql_query("SELECT * FROM mediaplaya WHERE media_id=1");
<OBJECT
ID="mediaPlayer"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/
controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">
print <PARAM NAME="fileName"
VALUE="/media/$media_filename">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
?>
Has anybody ever tried this?
Thanks in advance.
Ken