roadrunner
Active Member
Ok so im not very good with all this mysql stuff but im having a go.
I have built a script that inserts into my DB the following:
Video Link (playable mp4,avi etc etc)
Video Title
Video download link
I now have my output done BUT im using the echo command to pull the media link from my DB into the media player
Example:
Now this works fine and plays the video BUT all the movie players play the same video so i need to use something like
Now of coarse this dosn't work and i didnt expect it to......so what do i put in there so it pulls the links from the diferent rows/id's from my DB.
Thanks
RR
I have built a script that inserts into my DB the following:
Video Link (playable mp4,avi etc etc)
Video Title
Video download link
I now have my output done BUT im using the echo command to pull the media link from my DB into the media player
Example:
Code:
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="[COLOR="Red"]<?php echo("$vid_source"); ?>[/COLOR]">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="[COLOR="Red"]<?php echo("$vid_source"); ?>[/COLOR]" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>
Now this works fine and plays the video BUT all the movie players play the same video so i need to use something like
Code:
<?php echo("$vid_source [COLOR="Red"]from[/COLOR] $id1"); ?>
Now of coarse this dosn't work and i didnt expect it to......so what do i put in there so it pulls the links from the diferent rows/id's from my DB.
Thanks
RR