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 '://www.pamperyourdog.com/product_detail.php?prod_id=148 and a.int_product_id=p.i' at line 1