What I want to do is when the user selects a name from a listbox pass the "eid" value to the next page for processing. So far I can get the list box populated but can not get the pass to the next page part. I am not sure how to do this part..... Below is the code i have so far....
Please point me in the right direction...
Thanks!!!! 😕
?
include("datacon.php");
?>
<select name="fieldName">
<option>="">Select One
<?
$querydrop = "select eid,Name from eid";
$resultdrop = MYSQL_QUERY($querydrop);
$numberdrop = mysql_Numrows($resultdrop);
if ($numberdrop>0)
{
$xdrop=0;
while ($xdrop<$numberdrop)
{
$eid = mysql_result($resultdrop,$xdrop,"eid");
$Name = mysql_result($resultdrop,$xdrop,"Name");
echo "<option value=\"$eid\">$Name</option>";
$xdrop++;
} // end while
} // end if
?>
</select>
<?
print "</SELECT>";