...

View Full Version : tree menu



mbolintis
01-26-2004, 10:51 PM
Hi,

I have a mysql table with following fields:
id, subid, name
and I want to create a function wich return me a tree menu of data like that:

+name1
+name2
+name3
+name4

and when I click "name2":
+name1
- name2
+name21
+name22
+name23
+name3
+name4
... etc

I create some code but dont work ... I think must create 2 query but I don know how ...

sweenster
01-27-2004, 12:28 PM
this is a similar question to one i've just answered 2 mins earlier:

http://www.codingforums.com/showthread.php?s=&threadid=32238


(Woo Hoo! 2 birds with one stone!)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum