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 'firstname lnprefix nickname) AND (tng_people.private != 1)) AND tng_people.ge...' at line 1 in /home/coullme/public_html/photos/tngconnect.php:157
Stack trace:
#0 /home/coullme/public_html/photos/tngconnect.php(157): mysqli_query()
#1 /home/coullme/public_html/photos/showreport.php(460): tng_query()
#2 {main}
thrown in /home/coullme/public_html/photos/tngconnect.php on line 157