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 'where ettevottenimi !='NULL'' at line 1 in /data02/virt27018/domeenid/www.okokratt.ee/htdocs/register/ubari/teemapark.php:164
Stack trace:
#0 /data02/virt27018/domeenid/www.okokratt.ee/htdocs/register/ubari/teemapark.php(164): mysqli_query(Object(mysqli), 'select ettevott...')
#1 {main}
thrown in /data02/virt27018/domeenid/www.okokratt.ee/htdocs/register/ubari/teemapark.php on line 164