Fatal error: Uncaught exception 'DbException' with message '执行[<b><font color="#FF0000">select * from pg_reg2 where static=1 and lx = ''出卖'' order by id desc </font></b>]出错!<br> <font color=#FF0000> [1064]: 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 '出卖'' order by id desc' at line 1</font>' in /www/wwwroot/demo/common/lib/classes/db/DbQueryForMysql.class.php:104
Stack trace:
#0 /www/wwwroot/demo/common/lib/classes/db/DbQueryForMysql.class.php(132): DbQueryForMysql->error(10, '\xE6\x89\xA7\xE8\xA1\x8C[<b><font...')
#1 /www/wwwroot/demo/common/lib/classes/db/DbQueryForMysql.class.php(375): DbQueryForMysql->execute('select * from p...', 0, 1000)
#2 /www/wwwroot/demo/common/apps/Registry2.class.php(259): DbQueryForMysql->select('select * from p...')
#3 /www/wwwroot/demo/gqxx.php(18): Registry2->getAll('static=1 and lx...')
#4 {main}
thrown in /www/wwwroot/demo/common/lib/classes/db/DbQueryForMysql.class.php on line 104