Re: [PHP] Help With Recursion && Multi-Dimensional Arrays

2003-11-09 Thread Lowell Allen
[snip] > What I'm trying to do is list a typical category/subcategory system with > parents and children associated with those parents. My database table > (categories) lists all the parents and children together, each with a > parent_id field > (with root being a value of 0). What I want to do is

Re: [PHP] Help With Recursion && Multi-Dimensional Arrays

2003-11-09 Thread Burhan Khalid
Navid Yar wrote: Hello Guys, I need a little bit of help with recursion. I've searched our PHP website and Google, but none helped me understand my problem. There is a code below this message in order to help you understand what I am trying to achieve. Here is an explaination: What I'm trying to

Re: [PHP] Help With Recursion && Multi-Dimensional Arrays

2003-11-08 Thread Jordan S. Jones
Navid, So you want something like this: Category 1 Category 2 | ---> Category a | > Category b | > Category X | > Category Y | > Ca

[PHP] Help With Recursion && Multi-Dimensional Arrays

2003-11-08 Thread Navid Yar
Hello Guys, I need a little bit of help with recursion. I've searched our PHP website and Google, but none helped me understand my problem. There is a code below this message in order to help you understand what I am trying to achieve. Here is an explaination: What I'm trying to do is list a typi