Posted by Stefan Rybacki on 03/29/06 16:43
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stefan Rybacki schrieb:
> Marc schrieb:
>>> Stefan Rybacki schreef:
>...
>
> // call this function again to display this
> // child's children
> $output['children'][]=display_children($row['nt'], $level+1);
so I missed the ID stuff, to have your nt's saved as well change the
line above to:
$output[$parent]['children'][]=display_children($row['nt'],$level+1);
This way you will end in a tree array looking like this:
parentNT
children -> parentNT
children -> ...
-> ...
-> parentNT
children -> ...
...
Regards
Stefan
>...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
iD8DBQFEKo79yeCLzp/JKjARArdXAJ9t1H13H3po53U696hui9JFkKDH3gCfcsfc
r4APCH3yg32bnXg9zW9/Rm8=
=/OxM
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|