"; echo ""; echo "
"; echo "$disp_countryname2 > $m_Locations"; echo "

"; ?>
"); print $row["l_name"]; print (""); // fá Region og prenta út $districtid = $row["district"]; $getRegion = mysql_query ("SELECT * from location_district_t WHERE district_id='$districtid' ORDER by d_name"); if ($row = mysql_fetch_array($getRegion)) { do { echo " ("; print $row["d_name"]; echo ")"; } while($row = mysql_fetch_array($getRegion)); } //loka Region útprenti echo "
\n"; } while($row = mysql_fetch_array($resultLocations)); } else { echo $e_NoLocations; } } //--------Loka venjulegri röðun-------- ?> $district
\n"); $resultLocations = mysql_query ("SELECT * from location_t WHERE country_id = '$country' AND district = '$districtid' ORDER by sortfield, l_name"); if ($row = mysql_fetch_array($resultLocations)) { do { print ("   "); print $row["l_name"]; print ("
\n"); } while($row = mysql_fetch_array($resultLocations)); } else { echo "   $e_NoLocations
"; } } while($row = mysql_fetch_array($resultRegions)); } else { echo $e_NoLocations; } } //-----------Loka svæðisröðun--------- ?>