| Subject: | hi, i found a little glitch in your... |
| Summary: | Package rating comment |
| Messages: | 2 |
| Author: | pwkip |
| Date: | 2009-03-19 15:28:29 |
| Update: | 2009-03-19 16:58:07 |
| |
|
|
pwkip rated this package as follows:
| Utility: | Sufficient |
| Consistency: | Good |
| Examples: | Good |
|
|
 pwkip - 2009-03-19 15:28:29
hi, i found a little glitch in your application. i'm looking into it myself but i hope you could fix it. When you have a node with id=1 and a node with id=3 but no node with id=2, only node 1 is generated.
Here's an example:
$objTree->add(1,0,'a');
$objTree->add(4,1,'b');
$objTree->add(5,4,'c');
$objTree->add(7,4,'d');
as a result i get only node 'a' and a link (but the link isn't connected to any other node).
I can't just change the node-id's because my items come out of a database
j_colle at hotmail dot com
 pwkip - 2009-03-19 16:58:07 - In reply to message 1 from pwkip
|