| List: | General Discussion | « Previous MessageNext Message » | |
| From: | HaidarPesebe | Date: | May 25 2012 7:57am |
| Subject: | category with parentid | ||
| View as plain text | |||
I have a database for the category
id | name | parentid
----------------------
1 | cat A | 0
2 | cat B | 0
3 | subcat A | 1
4 | subcat A | 1
5 | subncat B | 2
-------------------------
I want to display the result like this:
1. Cat A
- Subcat A
- Subcat A
2. CatB
- Subcat B
ask for help for this.
Thanks for the help
__________ Information from ESET NOD32 Antivirus, version of virus signature database 7165
(20120524) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
| Thread | ||
|---|---|---|
| • category with parentid | HaidarPesebe | 25 May |
| • Re: category with parentid | hsv | 25 May |
| • Re: category with parentid | AndrĂ©s Tello | 25 May |
| • Re: category with parentid | hsv | 26 May |
| • Re: category with parentid | Peter Brawley | 25 May |
| • Re: category with parentid | HaidarPesebe | 28 May |
| • Re: category with parentid | Tsubasa Tanaka | 28 May |
| • Re: category with parentid | hsv | 28 May |
| • Re: category with parentid | hsv | 28 May |
| • Re: category with parentid | HaidarPesebe | 30 May |
| • Re: category with parentid | HaidarPesebe | 30 May |
| • Re: category with parentid | Tsubasa Tanaka | 30 May |
