It still won't work, i've tried it with and without the quotes.
$result = mysql_query($query) or die("werkt niet 2");
is the sentence that gives the error..
I mean that if i execute it, it get "werkt niet 2", so i dies becos it can't execute. I don't get any other errors.
Im trying to do it with variables but that's not working either.
$query = "INSERT INTO contact2 (naam, email, bericht) VALUES ('$naam','$email','$bericht')" or die("werkt niet");