I want an easy way to store the number selected from the drop down list in a variable. How can I achieve this ? The drop down list is dynamic.
thanks
$results = $handle->query("SELECT * FROM id
WHERE test = '".$pull ."';");
echo "<html>";
echo "<body>";
echo "<select name='id'>";
while($table = $results->fetchArray()){
$tab= $tabe['ic'] -1;
$b = "1" . $table_ ;
echo '<option value="'.$tab.'">'.$tab.'</option>';
}
echo "</select>";
echo "</body>";
echo "</html>";
?>