There was a problem checking if the ad was visible. If this problem persists please contact us with details of the problem.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 1SELECT ad_status FROM ad WHERE ad_id =