Re: [PHP] Re: array recursion from database rows

2008-05-25 Thread Larry Garfield
On Saturday 24 May 2008, Chris W wrote: > Bob wrote: > > Hi. > > > > I have a database table I have created for navigation. > > > > The table fields are uid, parent_id, menu_name. > > > > Each entry is either a top level element with a parent_id of 0 or a child > > which has a parent_id that relate

[PHP] Re: array recursion from database rows

2008-05-24 Thread Chris W
Bob wrote: Hi. I have a database table I have created for navigation. The table fields are uid, parent_id, menu_name. Each entry is either a top level element with a parent_id of 0 or a child which has a parent_id that relates to the parent uid. What I am trying to do is recurse through a set