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.safe.kiev.ua/Сейфы_встраивае' at line 1 SQL query : select productID from SS_category_product where categoryID=http:/www.safe.kiev.ua/Сейфы_встраиваемые_в_стену_AIKO