else if($location_name=="")
{
$result3=odbc_exec($con, "select location from location, data where loc_id='$location_id'");
echo" Location: ".odbc_result($result3, "location")."<br>";
the above code is what i wrote, and i wanna display the location from the pull menu.