Details:

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 'ORDER BY prio' at line 1

SELECT rex_hvt_products.* , rex_hvt_products_typesproductstype.id AS categoryid, rex_hvt_products_typesproductstype.name AS categoryname, rex_hvt_products_typesproductstype.prio AS categoryprio FROM rex_hvt_products INNER JOIN rex_hvt_products_types AS rex_hvt_products_typesproductstype ON FIND_IN_SET(rex_hvt_products_typesproductstype.id, rex_hvt_products.productstype) WHERE rex_hvt_products.id= ORDER BY prioYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY prio' at line 1

SELECT rex_hvt_products.* , rex_hvt_products_typesproductstype.id AS categoryid, rex_hvt_products_typesproductstype.name AS categoryname, rex_hvt_products_typesproductstype.prio AS categoryprio FROM rex_hvt_products INNER JOIN rex_hvt_products_types AS rex_hvt_products_typesproductstype ON FIND_IN_SET(rex_hvt_products_typesproductstype.id, rex_hvt_products.productstype) WHERE rex_hvt_products.id= ORDER BY prioYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY prio' at line 1

SELECT rex_hvt_products.* , rex_hvt_products_typesproductstype.id AS categoryid, rex_hvt_products_typesproductstype.name AS categoryname, rex_hvt_products_typesproductstype.prio AS categoryprio FROM rex_hvt_products INNER JOIN rex_hvt_products_types AS rex_hvt_products_typesproductstype ON FIND_IN_SET(rex_hvt_products_typesproductstype.id, rex_hvt_products.productstype) WHERE rex_hvt_products.id= ORDER BY prio