#0 SQL->executeQuery(SELECT * FROM truck_images WHERE id=;) called at [/home/jonadmin/public_html/includes/class.mysql.php:30] #1 SQL->fetchRow(SELECT * FROM truck_images WHERE id=;) called at [/home/jonadmin/public_html/print_inventory.php:15] Error in SQL Query: SELECT * FROM truck_images WHERE id=; Message: 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