Re: [PHP-DB] Re: Tree structure - how to show only current branch ??

2004-04-05 Thread Alireza Balouch
ok this may help a bit (I think) you want something like this: A --A1 --A2 --A3 B C --C1 --C2 --C3 C3A C3B C3C D E F G First you got to have your tables like this. ID, title, PID (parrent id) ok use function rec_tree($pid) { //some connect stuff here $sql = "SELECT * FROM mymen

Re: [PHP-DB] Re: Tree structure - how to show only current branch ??

2004-04-03 Thread -{ Rene Brehmer }-
At 20:03 30-03-2004, you wrote: Well, I did a similar system for my CMS sollution. If I understand you correct you want to sort the main branch, keeping the subs. Not really ... I want to be able to expand the current sub to the current sub's level, list the subfolders contained within the curren