SELECT `cat_name`,trim(substr(`cat_description`,11)) cat_description,trim(substr(`cat_description`,1,10)) fechagal
FROM `4images_categories`
WHERE `cat_id`=
: 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 '' at line 3