Ok so i have the code below all working. What i wish to do is simply automatically redirect them to a web page when they choose a <option>!
I have looked at tutorials but no help..
Anyone done this before or know how to automatically change the page!
If im not being specific enough please say!
Cheers in advance!
#####PHP CODE######
<select style="width: 115px; font-size: 7pt;">
<option selected="selected">Quick List..</option>
<?php
$connection = mysql_connect("localhost", "UNAME", "PWORD") or die("CONNECTION PROBLEM!");
mysql_select_db("DATABASE");
$query = "SELECT * FROM table ORDER BY field ASC";
$result = mysql_query($query);
while($line = mysql_fetch_assoc($result))
{
echo "<option >" . $line[gameinfo_name] . "</option>";
}
mysql_close($connection);
?>
</select>
####EQUIVILENT HTML CODE######
<select style="width: 115px; font-size: 7pt;">
<option selected="selected">Quick List..</option>
<option >3 Foot Ninja</option>
<option >3 Foot Ninja II</option>
<option >3D Logic</option
</select>