hi can any one guide me how to control the categories in php as i have to make a vertical menu in php to show all the categories and subcategories inline to their parent
for eg. i have 3 main categories
Ladies
Men
Kid
then in each of the above categories i have to define the subcategories i.e.
tops
hoods
tees
sweat shirts
zipper
i have made the 2 tables in the databases which are as follows
ksl_categories
ksl_categories_ description
ksl_categories
Field Type
cat_id int(11)
cat_image varchar(64)
parent_id int(11)
sort_order int(3)
date_added int(11)
last_modified int(11)
ksl_categories_ description
Field Type
cat_id int(11)
lang_id int(11)
cat_name varchar(32)
can any one guide me in this regard and also that are these tables valid and correct to control the hierarchy
regards,
Omer Aslam
for eg. i have 3 main categories
Ladies
Men
Kid
then in each of the above categories i have to define the subcategories i.e.
tops
hoods
tees
sweat shirts
zipper
i have made the 2 tables in the databases which are as follows
ksl_categories
ksl_categories_ description
ksl_categories
Field Type
cat_id int(11)
cat_image varchar(64)
parent_id int(11)
sort_order int(3)
date_added int(11)
last_modified int(11)
ksl_categories_ description
Field Type
cat_id int(11)
lang_id int(11)
cat_name varchar(32)
can any one guide me in this regard and also that are these tables valid and correct to control the hierarchy
regards,
Omer Aslam
Comment