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 /home3/develop1/public_html/utsavnow.com/downloadPDF.php:37 Stack trace: #0 /home3/develop1/public_html/utsavnow.com/downloadPDF.php(37): mysqli_query(Object(mysqli), 'select * from c...') #1 {main} thrown in /home3/develop1/public_html/utsavnow.com/downloadPDF.php on line 37