Do you mean you want to find out what item the user clicked?
You'd make a form:
<form name=myform method=post action=myaction.php>
Then echo your list
Add a submit button:
<input type=submit value='What Did I Choose?'>
close the form:
</form>
When the user clicks the submit button, that choice will be POSTed to the file listed as the action tag; in this case myaction.php.
myaction.php would be something like:
<?
$userchoice=$_POST['listbox1']
// (the array key will be the variable name for you listbox
echo "The user chose $userchoice";
?>
$userchoice will be the VALUE you pushed into the item chosen by the user.