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 '-50, 50' at line 1 in /www/htdocs/w01eeb12/drki.de/dosto-bib/functions.php:100
Stack trace:
#0 /www/htdocs/w01eeb12/drki.de/dosto-bib/functions.php(100): mysqli_query(Object(mysqli), 'SELECT DISTINCT...')
#1 /www/htdocs/w01eeb12/drki.de/dosto-bib/index.php(35): getBooksPerPage(Object(mysqli), -50, 50, '')
#2 {main}
thrown in /www/htdocs/w01eeb12/drki.de/dosto-bib/functions.php on line 100