Fatal error: Uncaught PDOException: 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 business_type = 2 0 LIMIT 10' at line 1 in /www/wwwroot/service.fagua.net/conn.php:16
Stack trace:
#0 /www/wwwroot/service.fagua.net/conn.php(16): PDO->query()
#1 /www/wwwroot/service.fagua.net/inc/rank_li.php(2): Orm->queryAll()
#2 /www/wwwroot/service.fagua.net/ranking.php(315): include('...')
#3 {main}
thrown in /www/wwwroot/service.fagua.net/conn.php on line 16