SELECT DISTINCT gotolink FROM `adm_coupon_items` WHERE `advcampaign_name` = 'Papa John's'
Array ( [0] => 42000 [1] => 1064 [2] => 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 's'' at line 1 )