RE: [PHP-DB] Re: Listing parent ids
| From: | Arno Kuhl | Date: | Thu, 28 Jul 2011 14:47:42 +0000 |
| Subject: | RE: [PHP-DB] Re: Listing parent ids | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47943@lists.php.net to get a copy of this message | ||
> Hi Jim. I wanted the list of related parentids from current id to
> top-level
> (parentid=0).
Ahhhhh - now that is a much different question!
From your statement above, are you now saying you only want ONE list of
related ids, not the entire society of possible 'families' in your table?
Also - do your parent records have multiple children?
--
Hi Jim. Only one linked list of parentids. No siblings.
Multiple records can have the same parentid, but that doesn't play a role.
Cheers
Arno