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 '^1ÒÌ¿c¼£†R¥LOÌ and ECOM=1' at line 1SELECT pctr FROM tbl_products WHERE pctr=x;^1ÒÌ¿c¼£†R¥LOÌ and ECOM=1