Fatal error: Uncaught exception 'Exception' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '/ 100) AS price, r.rank_name, r.discount FROM `b2bmall`.`user_rank` AS r LEFT JO' at line 1 query: SELECT rank_id, IFNULL(mp.user_price, r.discount * / 100) AS price, r.rank_name, r.discount FROM `b2bmall`.`user_rank` AS r LEFT JOIN `b2bmall`.`member_price` AS mp on mp.goods_id = '15527' AND mp.user_rank = r.rank_id WHERE r.show_price = 1 OR r.rank_id = '0'' in D:\AppServ\www\B2Bmall\includes\MysqliDb.php:1927
Stack trace:
#0 D:\AppServ\www\B2Bmall\includes\MysqliDb.php(1520): MysqliDb->_prepareQuery()
#1 D:\AppServ\www\B2Bmall\includes\MysqliDb.php(687): MysqliDb->_buildQuery(NULL)
#2 D:\AppServ\www\B2Bmall\goods.php(430): MysqliDb->get('`b2bmall`.`user...', NULL, 'rank_id, IFNULL...')
#3 D:\AppServ\www\B2Bmall\goods.php(272): get_user_rank_prices(15527, NULL)
#4 {main}
thrown in D:\AppServ\www\B2Bmall\includes\MysqliDb.php on line 1927