Fatal error: Uncaught mysqli_sql_exception: Unknown column ' coupon.id ' in 'where clause' in /home/publicchamber/public_html/assets/components/db.inc.php:51
Stack trace:
#0 /home/publicchamber/public_html/assets/components/db.inc.php(51): mysqli_query(Object(mysqli), 'SELECT * FROM c...')
#1 /home/publicchamber/public_html/assets/components/db.inc.php(93): database_query('SELECT * FROM c...', Object(mysqli))
#2 /home/publicchamber/public_html/assets/components/db.inc.php(110): execsql('SELECT * FROM c...')
#3 /home/publicchamber/public_html/coupons/print-coupon.php(14): getsql('SELECT * FROM c...')
#4 {main}
thrown in /home/publicchamber/public_html/assets/components/db.inc.php on line 51