query("INSERT INTO country_invites (Country) VALUES ('$country')"); } if (isset($_POST['changecountry'])) { $id = $_POST['id']; $country = mysql_escape_string(strtoupper($_POST['country'])); if ($_POST['save']) { $DB -> query("UPDATE country_invites SET Country = '$country' WHERE ID = '$id'"); } if ($_POST['delete']) { $DB -> query("DELETE FROM country_invites WHERE ID = '$id'"); } } ?>
Country | Submit |