i redigeringsdelen:
prøv at sammenligne ID for redigeret post i stedet for at sammenligne gamle/nye navne, f.eks.
$sql = "SELECT county_id FROM counties WHERE country='$country' AND county_name='$county_name' AND country_id !='$id' LIMIT 1";
i redigeringsdelen:
prøv at sammenligne ID for redigeret post i stedet for at sammenligne gamle/nye navne, f.eks.
$sql = "SELECT county_id FROM counties WHERE country='$country' AND county_name='$county_name' AND country_id !='$id' LIMIT 1";