Code: Select all
error_reporting(E_ALL);
http://php.net/manual/en/function.mysql-connect.php
Looking at your table name with the special characters, you may need to escape it with backticks:
Code: Select all
$notes = "INSERT INTO `anmälda` (namn, tele, email, kommentar) VALUES ('$namn', '$tele', '$email', '$kommentar')";