I am using this code, on an initial page, for a dynamic drop-down:
echo "<select name=Race_Name>Race Name</option>";
while($nt=mysql_fetch_array($result)){//Array or records stored in $nt
echo "<option value=$nt[ID]>$nt[Race]</option>";
/ Option values are added by looping through the array /
}
echo "</select>\n";// Closing of list box
On the subsequent page I use the following code to try to extract the value chosen before:
$raceID=$_POST["Race_Name"];
The variable above doesn't get populated; so, am I missing an array reference or something?
Thanks in advance.