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 'LIMIT 1' at line 1 in /home/klient.dhosting.pl/vispl/zeglarstwo.waw.pl/testy/pokaz_kat.php:49
Stack trace:
#0 /home/klient.dhosting.pl/vispl/zeglarstwo.waw.pl/testy/pokaz_kat.php(49): mysqli_query(Object(mysqli), 'SELECT * FROM `...')
#1 {main}
thrown in /home/klient.dhosting.pl/vispl/zeglarstwo.waw.pl/testy/pokaz_kat.php on line 49