this is DB file add.php

if(isset($_POST["button2"]))
{
$sql="INSERT INTO cktext (section)
VALUES
('$_POST[select2]')";

This is PHP form


<form id="form1" name="form1" method="post" action="add.php">
<tr>
<td>Section:</td>
<td><select name="select2" id="select2">
<option selected="selected" value="MALE">Male</option>
<option selected="" value="FEMAIL">FEMAIL</option>
</select></td>
</tr>
</form>

I have given table cktext.

section varchar(50) latin1_swedish_ci

"section" is a table attribute.


how to insert select box value in database?

The output is BLANK after submitting.