Marek Kilimajer wrote:
This should be of your interest:
http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17/4047/
Indeed! The "flat table model" is simple, efficient and - I think -
sufficient. Thanks!
I also found this article which explains the "fourth" method not reall
I did one once where the key to the table was a string, and the string
contained 1 to n Node Numbers separated by a separator character.
"1"
"1.1"
"1.1.1"
"1.2"
select data from table where node between (1 and 2)
resulted in an entire limb of the tree being retrieved. Limitations were
the size
This should be of your interest:
http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17/4047/
Mattias Thorslund wrote --- napĂsal::
Hi,
I wonder what you think are the best (or "least worst") strategies to
store and retrieve hierarchial data (such as a "threaded" discussion or
a
Hi,
I wonder what you think are the best (or "least worst") strategies to
store and retrieve hierarchial data (such as a "threaded" discussion or
a multi-level menu tree) in MySQL using PHP?
I have been using table structures where each row contains a parent
reference, such as:
Table Example:
Just some closure on my crontab question:
1 - Since my linux box has Plesk 7 (PSA) and it already had php installed on
it I guess php is installed in the "/usr/local/psa/admin/bin/php" directory.
Pretty sure atleast since the below crontab command is now executing my
script:
/usr/local/psa/admin/b
Paul Bissex wrote:
> FWIW Python also requires child classes to call parent constructors
> manually. Not sure what the justification is for this design decision
> is, though, in either language. Anybody?
Flexibility, I would guess. With PHP's current behavior one can:
(1) Call the parent constr
On Sat, 26 Jun 2004 20:51:58 -0700, Jason Davidson
<[EMAIL PROTECTED]> wrote:
>
> If you instantiate a child class, the parent class constructor is not
> called, is there a reason for this? anyone know of plans to change
> this at all,
> the obvious workaround is to call the parents construc
<>--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
As far as I know, this is fairly common in most programming languages
(but I just woke up so don't take my word on it!). It allows you a
lot greater control over the construction of your class, since you can
force the child class to override what the parent class's default
member variable values a
9 matches
Mail list logo