php tutorial how to get the value of the select drop-down list box
Give the select form element a name.
After submitting the form, use $_POST or $_GET to submit
$_POST['sel'] or $_GET['sel'] gets the value of the selected select
if( $_POST )
{
echo $_POST['select'];
}
?>
You need to set the value of name. Otherwise it cannot be delivered.