<?php
require_once "myConnect.inc.php";
if (isset($_POST['navn'])) {
$sql = "insert into city";
$sql .= " (name, region, countrycode, population)";
$sql .= " values('";
$sql .= $_POST['navn'];
$sql .= "','";
// fill in the blanks...
// fill in the ...
$sql .= $_POST['population'];
$sql .= ");";
mysql_query($sql) or die($sql . "<br /> ...error message ...");
header("Location: " . "phpOpgave81.php");
?>