Hope you can help me-
I have a number of QT videos that I'm streaming and I'm getting tired of creating html pages for each video. I would like to have one page with a menu/list that is populated from a DB (this works). The viewer would select an item from the list - submit, and when the page reloads a $var could be be placed in the href to the location of .mov. Here is what I've got so far.
DB with fields of "id" "title" "episode" "location"
Form
<td width="30%" rowspan="4"><form id="form1" name="form1" method="post" action="<?php $_SERVER['../PHP_SELF'];?>">
<table width="100%" border="0" cellpadding="2"><tr><td><div align="center">
<label></label>
<table width="100%" border="0" cellpadding="2">
<tr>
<td><div align="center"><span class="style1">Episode</span></div></td>
</tr>
<tr>
<td><label> </label>
<div align="center">
<label>
<select name="Episode" id="Episode">
<?php do { ?>
<option value=<?php echo $row['id'];?>><?php echo $row['episode'];?></option>
<?php }while ($row = mysql_fetch_array($result)); ?>
</select>
<input type="submit" name="submit" id="submit" value="Submit" />
</label>
</div></td>
HREF
href="rtsp://BBB/echo $row ['loc'];"
This of course does not work - could you point me in the right direction.
Thanks