Fatal error: Uncaught mysqli_sql_exception: 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 'and city is not null and city<>'' and count>0' at line 1 in /usr/home/mw2p6etise/www/htdocs/lib/my_db.php:112
Stack trace:
#0 /usr/home/mw2p6etise/www/htdocs/lib/my_db.php(112): mysqli_query(Object(mysqli), 'SELECT distinct...')
#1 /usr/home/mw2p6etise/www/htdocs/lib/my_db.php(524): DBConnection->db_exec('SELECT distinct...')
#2 /usr/home/mw2p6etise/www/htdocs/index.php(2513): DBConnection->search_sql('SELECT distinct...')
#3 {main}
thrown in /usr/home/mw2p6etise/www/htdocs/lib/my_db.php on line 112