[SOLVED] Query problems
Posted: Sun Aug 15, 2004 7:24 am
I get this error:
On this query:
ANy help to resovle this matter would be appreciated.
Code: Select all
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'read=0' at line 1Code: Select all
$query = mysql_query("SELECT * FROM pm WHERE toid='$suser' AND read=0") or die(mysql_error());