Fatal error: Uncaught mysqli_sql_exception: 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 'and `credit` > 0 ORDER BY created_at ASC LIMIT 1' at line 1 in /usr/local/www/redimap.com/order.php:28
Stack trace:
#0 /usr/local/www/redimap.com/order.php(28): mysqli->query()
#1 {main}
thrown in /usr/local/www/redimap.com/order.php on line 28