On Monday 05 June 2006 13:32, David Robley wrote:

> Niels wrote:
> 
>> Hi,
>> 
>> 
>> I have a set of nodes. Each node has a parent and so the set can be
>> thought of as a tree. I want to show that tree somehow on a webpage,
>> served by PHP. I cannot use Dot/Graphwiz for various reasons. What I'm
>> looking for is an output of DIVs or tablecells, showing the nodes and
>> their connections. It's not a trivial task, IMO, but doable. Possibly
>> somebody has already made something similiar, but I can't find anything
>> on Google. Can anybody point me to helpful information?
>> 
>> Thanks,
>> Niels
> 
> For the concept of storage, you might want to look at
> 
> http://www.sitepoint.com/article/hierarchical-data-database
> 

This I had already found. But it's a very basic article, and it's not about
how to transform a set of data into a nice looking piece of HTML. It does
show some cool trees, but the display_tree function shown just uses
indents, like my own.

> For a very simple implementation of the idea for display and editing,
> 
> http://www.auseinet.com/test/treeedit.php
> 
> I can provide the code for the above if you want it.
> 
Thanks, but this is more or less what I have. If you can add branches to
that, I'd like to hear more.


Thank you for your answer, I appreciate it!
Niels

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to