I have a little problem with some code. I need it to pass a variable to a target="_blank" page. The variable needs to be set in a <select> dropdown box. The code is as follows:
<?
$db = mysql_connect("localhost");
mysql_select_db("web_oe",$db);
$result= mysql_query("SELECT * FROM Kits WHERE CustID = $CustID",$db);
while ($myrow = mysql_fetch_row($result)) {
echo "<option value=$myrow[0]>$myrow[3]";}
?>
The code correctly creates the dropdown list, however my problem is that it doesn't pass the correct variable on to the new browser page. The next page inputs data into another database, but since this page doesn't pass a variable based on the choice made in the dropdown, all it inputs is null values.
Any help would be very appreciated.