PHP Classes

hi, i found a little glitch in your application.

Recommend this page to a friend!

      PHP Tree Graph  >  All threads  >  hi, i found a little glitch in your...  >  (Un) Subscribe thread alerts  
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

  1. hi, i found a little glitch in your...   Reply   Report abuse  
Picture of pwkip 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

  2. Re: hi, i found a little glitch in your...   Reply   Report abuse  
Picture of pwkip pwkip - 2009-03-19 16:58:07 - In reply to message 1 from pwkip
I found an extended version of this class that works much better for me:

phpclasses.org/browse/package/4506. ...

 
For more information send a message to info at phpclasses dot org.