12-07-2007, 04:38 AM
|
#3 (permalink)
|
|
The Wanderer
Join Date: Dec 2007
Location: united states
Posts: 16
Thanks: 7
|
Yes, that does help a little.
Let me explain
I have created following type structure
(1) Id - Integer
(2) name - Varchar
(3) parentid - Integer
Parentid will store id of parent category. If category is main category then its parentid will be ZERO.
I think this structure is correct. But i don't know that how should i display this all category.
Can you help me about what type of php loop programming i have to use?
Kindly just give me php loop programming which can display all category like this
-Root Category
--Category
---Sub Category
----Sub Sub Category
Also, thank you for the warm welcome, I just found out about this site and there seems to be some extremely good PHP programmers here that I can learn from.
|
|
|