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 `greenlife`.`user_rank` AS r LEFT ' at line 1 query: SELECT rank_id, IFNULL(mp.user_price, r.discount * / 100) AS price, r.rank_name, r.discount FROM `greenlife`.`user_rank` AS r LEFT JOIN `greenlife`.`member_price` AS mp on mp.goods_id = '3417' AND mp.user_rank = r.rank_id WHERE r.show_price = 1 OR r.rank_id = '0'' in D:\AppServ\www\greenlife\includes\MysqliDb.php:1927 Stack trace: #0 D:\AppServ\www\greenlife\includes\MysqliDb.php(1520): MysqliDb->_prepareQuery() #1 D:\AppServ\www\greenlife\includes\MysqliDb.php(687): MysqliDb->_buildQuery(NULL) #2 D:\AppServ\www\greenlife\goods.php(403): MysqliDb->get('`greenlife`.`us...', NULL, 'rank_id, IFNULL...') #3 D:\AppServ\www\greenlife\goods.php(252): get_user_rank_prices(3417, NULL) #4 {main} thrown in D:\AppServ\www\greenlife\includes\MysqliDb.php on line 1927