1064 - 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 '?iframe=true and pvp.pvp_pvt_id = pvt.pvt_id' at line 1

SELECT pvp.pvp_id, pvp.pvp_pvt_id, pvp.pvp_pvgn_id, pvt.pvt_bg_width, pvt.pvt_bg_height, pvt.pvt_fg_width, pvt.pvt_fg_height, pvt.pvt_fg_padding_left, pvt.pvt_fg_padding_top, pvt.pvt_fg_padding_right, pvt.pvt_fg_padding_bottom FROM preview_product pvp, preview_template pvt where pvp.pvp_product_id = 895?iframe=true and pvp.pvp_pvt_id = pvt.pvt_id