RE: [PHP-DB] TREE in a database

2001-11-04 Thread Robert Vukovic
Thanks, that is exactly what I needed and it doesn't look so complicated. -Original Message- From: John Lim [mailto:[EMAIL PROTECTED]] Sent: 31. oktobar 2001. 16:44 To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] TREE in a database Actually relational databases are set-based

RE: [PHP-DB] TREE in a database

2001-11-04 Thread olinux
what I needed and it doesn't look so complicated. -Original Message- From: John Lim [mailto:[EMAIL PROTECTED]] Sent: 31. oktobar 2001. 16:44 To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] TREE in a database Actually relational databases are set-based. The answer

Re: [PHP-DB] TREE in a database

2001-10-31 Thread John Lim
ng nodes. -Original Message- From: Robert Vukovic [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 2:03 PM To: 'Php-DB' Subject: [PHP-DB] TREE in a database Is there an easy way to implement tree structure in a database. Something like file systems do for files. Hints, links,

[PHP-DB] TREE in a database

2001-10-29 Thread Robert Vukovic
Is there an easy way to implement tree structure in a database. Something like file systems do for files. Hints, links, anything. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP-DB] TREE in a database

2001-10-29 Thread Andrey Hristov
The OASIS project for ad-server uses hierchical system for the sections stored in Mysql. the simplest structure is a row with 3 fields(node_id - autoincrement, parent_id int, data - sometype). the root has parent_id NULL or 0(because autoincrements usually starts from 1, but this is subject