Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EET/2.0/no DST' instead in /var/www/html/exceptions/DBException.class.php on line 50
Your query has errors! You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-4, 10' at line 1select * from pp where ((id_glossary1 = 536 or id_glossary2 = 536 or id_glossary3 = 536 or id_glossary4 = 536 or id_glossary5 = 536)) and (pp.published is NULL or pp.published = 'yes') order by titre_nl ASC limit -4, 10