in reply to Hierarchical Tree Traversal
What is $i? Why is $idy defined twice?while (my $idy = $result->fetchrow_hashref()) { $idy = $i->{id};
Is there a reason you are trying to reinvent this wheel instead of using DBIx::Tree or DBIx::Tree::NestedSet?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Hierarchical Tree Traversal
by Raad (Acolyte) on Jul 15, 2004 at 19:31 UTC | |
by Hero Zzyzzx (Curate) on Jul 16, 2004 at 00:23 UTC | |
by Anonymous Monk on Jul 16, 2004 at 01:53 UTC | |
by Raad (Acolyte) on Jul 15, 2004 at 19:50 UTC | |
by eric256 (Parson) on Jul 15, 2004 at 20:05 UTC |