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 B.sex='M' and D.id=2 and case when 0=0 then 1=1 else E.id=0 end ...' at line 23 in /home/klient.dhosting.pl/kresowe/maratonykresowe.pl/public_html/mods/start_lists_table.php:184 Stack trace: #0 /home/klient.dhosting.pl/kresowe/maratonykresowe.pl/public_html/mods/start_lists_table.php(184): mysqli_query(Object(mysqli), '\nSELECT \nB.surn...') #1 /home/klient.dhosting.pl/kresowe/maratonykresowe.pl/public_html/mods/start_lists_table.php(5): get_db_results_table() #2 /home/klient.dhosting.pl/kresowe/maratonykresowe.pl/public_html/mods/start_lists.php(8): require_once('/home/klient.dh...') #3 {main} thrown in /home/klient.dhosting.pl/kresowe/maratonykresowe.pl/public_html/mods/start_lists_table.php on line 184