![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveThreading articles from a SQL DB using PHP
From: BN <BN@BN.COMO>
Date: Sun Sep 18 2005 - 20:47:43 CEST
I have a table with (for brevity) 2 columns. RecID and ParentID.
All absolute or generation 0 PARENT records will have a ParentID of 0
I want to list out the parents with all their children
example
RECID ParentID
etc.. I want to list it in that order.
When I select it of the PostgreSQL database, I get records but not in
How do I do this? Arrays? Maps?
Can elements in maps be listed through iteration?
Are there processor efficient ways to do this?
Any help would be appreciated!!
|