Hi - I am very new to php
I just need to use a mysql table to give me the "path" of a quicktime VR movie
so the movies are in say the folder tours - and the database has the path.
all I want is similar to this here
thanks in advance
this is my crappy code:
<?php
include_once("conf.php");
$link = mysql_connect($dbserver, $username, $password) or die("Could not connect: " . mysql_error());
mysql_select_db("MYDATABASE",$link) or die ("Can\'t use dbmapserver : " . mysql_error());
/ Performing SQL query /
$query = "SELECT * FROM MYFOLDER";
$result = mysql_query($query) or die("Query failed");
echo '<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
WIDTH="400" HEIGHT="500"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM NAME="src" VALUE=" . $row['url'] . ">
<PARAM NAME="correction" VALUE="full">
<EMBED SRC=" . $row['url'] . " CORRECTION="full">
</OBJECT>';
?>