Warning: Undefined array key "user_code" in /home/collect1/public_html/export_pdf.php on line 8
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 '' at line 1 in /home/collect1/public_html/export_pdf.php:27
Stack trace:
#0 /home/collect1/public_html/export_pdf.php(27): mysqli_query(Object(mysqli), 'SELECT * FROM u...')
#1 {main}
thrown in /home/collect1/public_html/export_pdf.php on line 27