We all write things slightly differently, but this bit of code might help you. Apologies that I don't know how to put it into a nice little code box ......
<form action="bookings1.php" method="post" name="myform">
<select size='4' name='venue_id' style='font-family: verdana; font-size: 10pt; color: #f5a00c; background: #000000'>
<option selected value='0'>Please Select the venue:
<option value='99999'>None of the below
<?php
$query1="SELECT venue_id,venue_name FROM nsa_venue";
$result1=mysql_query($query1);
while($row1 = mysql_fetch_array($result1)) {
$key1 = $row1['venue_id'];
echo "<option value='$key1'>".$row1['venue_name'];
}
This generates a drop down list of venues, showing the venue_name to the user but returning the value of the venue_id for processing. The first item on the list is hard coded, "Please select" and is the selected item. The second item, also hard coded, is "none of the below" and returns the value 99999 which takes the user to a page to enter a new venue.
Then it searches the nsa_venue table for venue names and ids for the user to select.
HTH - Blu