刚才在看PHPCMS 系统设置里面的查看日志文件时出现了数据库语法错误,想这种错误一般是怎么解决的呢.. MySQL Query:SELECT COUNT(*) AS num FROM cms_log WHERE 1 and mod='phpcms' and addtime >= 1363622400 and addtime <= 1364313600 MySQL Error: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 '='phpcms' and addtime >= 1363622400 and addtime <= 1364313600' at line 1 MySQL Errno:1064 Message:MySQL Query Error
MySQL Query:SELECT COUNT(*) AS num FROM cms_log WHERE 1 and mod='phpcms' and addtime >= 1363622400 and addtime <= 1364313600
MySQL Error: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 '='phpcms' and addtime >= 1363622400 and addtime <= 1364313600' at line 1
MySQL Errno:1064
Message:MySQL Query Error
WHERE 1 and...