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 '{person.id}}' at line 1 in /var/www/html/php7.2/nab3.info/report.php:8 Stack trace: #0 /var/www/html/php7.2/nab3.info/report.php(8): mysqli_query() #1 {main} thrown in /var/www/html/php7.2/nab3.info/report.php on line 8