Here is the HTML code:
...some code...
...
<form action="script.php" method="GET">
...some more form stuff...
<select name="item">
<option value="apple">Apple
<option value="mango">Mango
<option value="banana">Banana
</select>
</form>
... more code ...
Here is the PHP:
<?php
$fruit = $_GET['item'];
$SQ = "SELECT * FROM grocery.tbl WHERE item LIKE '$fruit'";
// do rest of processing here
?>
I used LIKE instead of = because LIKE searches case insensitive and it is recommended for strings because you can use wildcards with the % sign.
-sridhar