ERROR --> SELECT * FROM `const_categories_sub` WHERE sub_category_id = '' cat_data[sct]['