Error SQL:
QUERY:
SELECT SQL_CACHE id,text_name,text_value,img_img,pselect_brands,textarea_header_name,text_price,text_discount
FROM `as_ru_catalog`
WHERE check_active = 1 AND pselect_brands=
ORDER BY ord
MYSQL Error:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY ord' at line 4