You have an error in your SQL syntax near '[email protected], `website` = 'http://, `bericht` ' at line 2
Dit is mn stukje code:
$sql = "UPDATE `gastenboek` SET
`naam` = '".addslashes($naam).",
`email` = '".addslashes($email).",
`website` = '".addslashes($website).",
`bericht` = '".addslashes($bericht)." WHERE `id` = '".addslashes($_GET['bericht'])."'";
mysql_query($sql) or die(mysql_error());