Ive been stuck on this code for too long. Ive compared it to other snippets of code that do the exact same thing for different tables and I can’t figure out why I keep getting a snytax error. Please help.
[php]
$query=“INSERT INTO contactus(name, from, subject, datetime, ipaddress, browser, message)
VALUES(’$name’, ‘$from’, ‘$subject’, ‘$datetime’, ‘$ipaddress’, ‘$browser’, ‘$message’)”;
$result=mysql_query($query) OR die(mysql_error ()); return true;
[/php]