You need to create the html using php. Probably easiest would be to store the values in array or file or database and when you build up the options add 'selected' to the one which matches the variable that has been set by the post
Here's a (bad) database example, but you get the idea:
$sql = "SELECT id, enquiry_type";
$sql .= " FROM enquiry_types";
$sql .= " ORDER BY enquiry_type";
$result = mysql_query($sql,$db);
echo mysql_error();
if ($myrow = mysql_fetch_array($result))
{
echo"<tr><td>Type of Enquiry</td><td>";
echo"<SELECT name=\"enquiry_id\">";
do
{
// Reselect the row that was previously selected
if ($myrow["id"] == $enquiry_id)
printf("<OPTION value=%s SELECTED>%s</OPTION>", $myrow["id"], $myrow["enquiry_type"]);
else
printf("<OPTION value=%s>%s</OPTION>", $myrow["id"], $myrow["enquiry_type"]);
} while ($myrow = mysql_fetch_array($result));
}
Obiously you will need to change the logic to fit exactly what you're trying to do, and an array would be easiest if you don't want to store the data externally !