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 'an' LIMIT 10 OFFSET 0' at line 1 in /home/lockmeir/public_html/conferenceinc.net/includes/function_events.php:8 Stack trace: #0 /home/lockmeir/public_html/conferenceinc.net/includes/function_events.php(8): mysqli_query(Object(mysqli), 'SELECT a.event_...') #1 /home/lockmeir/public_html/conferenceinc.net/dynamic-content.php(125): no_of_event_all(Object(mysqli), 'and city like '...') #2 {main} thrown in /home/lockmeir/public_html/conferenceinc.net/includes/function_events.php on line 8