If you compiled PHP with DOM support you can use XML to create dynamic trees. Here's a link to an article that uses XML...it's in ASP but the code could be converted to PHP. http://xefteri.com/articles/may312002/default.aspx Hope this helps, Jimmy Brock -----Original Message----- From: Galbreath, Mark A [mailto:GalbreathMA@xxxxxxxxx] Sent: Friday, March 19, 2004 12:04 PM To: 'php-db@xxxxxxxxxxxxx' Subject: ?DHTML Layers with PHP? I've been sitting here all morning wracking my brains for a way to code a hierarchical menu tree with JavaScript from database data retrieved by PHP, so that the child menus appear on a mouse click. Can PHP do this without JS? The only JS examples I can find use static menu trees, not dynamic data. tia, Mark -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php