select count(*) from messaging where toid = and deleted = 0 and `read`!=1;
There was an error in the MySQL query: 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 'and deleted = 0 and `read`!=1' at line 1 |