".$Area; } //this gets the Trip Types from the database to the drop list $query2 = "SELECT DISTINCT TripType FROM details".mysql_real_escape_string($TripType); $result2 = mysql_query($query2, $conn); $options2=""; while ($row2=mysql_fetch_array($result2)) { $TripType=$row2["TripType"]; $options2.="