Hey everyone, first post, but I've browsed here enough to know I'm in the right place (of course, if its in the correct FORUM is another story)
Ok, first, the breakdown.. I have a PHPmotion script running as a BACKEND. My users will ony see the videos via a "popup" (loose term) player I am working on. (long story, will elaborate only if I must)
So I'm pulling the Video "Channels" from the Database, and populating a Dropdown with them. No problem there.
Now I want to refresh the page with videos from the selected channel. I tried $_POST to simply return the value of the DropDown as a test, and come up with absolutely nothing.
Here's what I have in the form
<form id="form1" method="post" action="showvids.php">
<input type="hidden" name="chan_sel" value="videos_channel">
<p>
<select name="videos_channel" id="videos_channel">
<?php
do {
?>
<option value="<?php echo $row_Recordset1['channel_name']?>"><?php echo $row_Recordset1['channel_name']?></option>
<?php
} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
$rows = mysql_num_rows($Recordset1);
if($rows > 0) {
mysql_data_seek($Recordset1, 0);
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
}
?>
</select>
<input type="submit" name="button" id="videos_channel" value="Go">
</p>
</form>
And in the "showvids.php"
<?php echo $_POST['videos_channel'];?>
The resulting page is as plain white as a winter day here in Iowa.
I might mention I'm while not a "Novice" at PHP, I'm not 100% comfortable with it yet. I at least have my toes in the water