Re: [PHP-DB] Trying to make site map

2010-01-03 Thread Zach Hicken
Thank you very much On Jan 3, 2010, at 11:42 AM, Simcha Younger wrote: On Mon, 21 Dec 2009 14:53:58 -0700 Zach Hicken wrote: You are going to end up with alot of repetitous code if you repeat the process for every level. I would instead select all page data, and then construct a nested a

Re: [PHP-DB] Trying to make site map

2010-01-03 Thread Simcha Younger
On Mon, 21 Dec 2009 14:53:58 -0700 Zach Hicken wrote: You are going to end up with alot of repetitous code if you repeat the process for every level. I would instead select all page data, and then construct a nested array to show the page structure, and then work off of that. example: