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 MariaDB server version for the right syntax to use near 'and belopp in (500, 1000, 1500, 2000, 3000, 4000, 5000, 10000, 15000, 20000, ...' at line 1 in /home/bastbank/public_html/xn--nyttsmsln-d3a.se/class.loan.php:324
Stack trace:
#0 /home/bastbank/public_html/xn--nyttsmsln-d3a.se/class.loan.php(324): PDO->query('SELECT * from l...')
#1 /home/bastbank/public_html/xn--nyttsmsln-d3a.se/class.loan.php(435): Bank->SetAmounts()
#2 /home/bastbank/public_html/xn--nyttsmsln-d3a.se/index.php(87): Bank->GetBank()
#3 {main}
thrown in /home/bastbank/public_html/xn--nyttsmsln-d3a.se/class.loan.php on line 324