hi ,
i want to to dispaly a list of categories and subcategories in a listbox so that user can easily select the right place to publish add. can any body give me idea ?
How to crate a categoru and subcategory tree using Mysql in
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: How to crate a categoru and subcategory tree using Mysql in
Code: Select all
group_1
--------
pkid, name
group_2
--------
pkid, fkid, nameA better way would be to implement an arbitrary depth tree but that is slightly more complicated and possibly overkill if all you need is two levels, like make and model.