This is my code on html. I don't know to to process in my html code in PHP. Can anyone help me?Thanks in advance.

<div align="right">
<form action="search2.php" method="POST">
<table>
<table border="0">
<h2 align="right" style="Verdana"> Statistic Survey Search </h2>
<tr><td>Select Statistic:</td><td><select name="stat">
<option>--Select One--</option>
<option value="Yes">Yes</option>
<option value="No">No</option>
<option value="Undecided">Undecided</option>
</select></td></tr></table><input type="submit" name="submit" value="Search"></p>
</div>
</table>
</form>

In your php file, you reference the value from the form dropdown using this variable:

$_POST['stat']
Member Avatar
diafol

I'm seeing a few of these types of posts at the moment. Is this homework or are you just starting out?

I'm not sure I understand your question, but if you mean do I know what I'm talking about, then yes.