SQL ERROR :
SELECT * FROM tbl_categories  WHERE status='1'  ORDER BY cname ASC
SQL ERROR :
SELECT *  FROM tbl_products WHERE psubcat_type ='5'  AND status='1' 
            ORDER BY p_id  DESC