Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

categorie tree

Status
Not open for further replies.

anita20

Programmer
Joined
Oct 12, 2000
Messages
5
Location
NL
I'm making a admin for categories in an e-commerce shop.
I want to show the categories like this (and then in a table)

TOP
|--+ clothes
| |--+ tshirt
| |--+ trousers
|
|--+ toys
| |--+ lego
| | |--+ collector items
| | |--+ star wars
| |
| |--+ barbies
|
|--+ food

The table looks like:

table categories:

id --> category id
parent_id --> parent category id
name --> name category
description --> description category

Do u have any ideas how I can do this??

Thanks,
>(::O> Anita

[sig][/sig]
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top