connect_errno) { echo "Failed to connect to MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error; } if (!$mysqli->query("INSERT INTO dyndns(domain, ipv4, ipv6) VALUES ('" . $_GET['domain'] . "', '" . $_GET['ipv4'] . "', '" . $_GET['ipv6'] . "')")) { echo "Insert-Error: (" . $mysqli->errno . ") " . $mysqli->error; } mysqli_close($mysqli); //Bis hier und NICHT WEITER, kann auskommentiert werden! echo "success"; } ?>