Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 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 'and price<=999999999999' at line 1' in /www/wwwroot/baoshan/app/lib/mysql.php:71
Stack trace:
#0 /www/wwwroot/baoshan/app/lib/mysql.php(71): PDO->prepare('SELECT count(*)...')
#1 /www/wwwroot/baoshan/app/lib/mysql.php(81): Mysql->query_result('SELECT count(*)...', NULL)
#2 /www/wwwroot/baoshan/app/model/model.php(32): Mysql->queryrow('SELECT count(*)...')
#3 /www/wwwroot/baoshan/app/controller/b2b_controller.php(385): Model->count('goods', 'type=4178 and p...')
#4 [internal function]: B2bController->product_list('4178')
#5 /www/wwwroot/baoshan/app/controller/controller.php(406): call_user_func_array(Array, Array)
#6 /www/wwwroot/baoshan/app/controller/controller.php(375): Controller->run('B2bController->...', Array)
#7 /www/wwwroot/baoshan/app/route.php(12): Controller->disp in /www/wwwroot/baoshan/app/lib/mysql.php on line 71