Help a beginner!

A

Anonymous

Guest
Are you seeing error messages? If not turn on errors at the top of the script:
Code:
error_reporting(E_ALL);

Also what version of PHP are you running, the MySQL driver is deprecated, check the manual and have a look at changing to MySQLi or PDO:
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:
$notes = "INSERT INTO `anmälda` (namn, tele, email, kommentar) VALUES ('$namn', '$tele', '$email', '$kommentar')";
 
Back
Top