In my CMS, I want to add new pages with subpages to the system,
have tried to build a tree with PHP MySQL but are about to give that up.
Could I eg. create the subpages like this
db table:
|pid|pagename|
in the pagename colum I could insert page names in this format:
MainCat;
MainCat;subcat1;
MainCat;subcat1;subcat2;
but how could I code it so it prints out like a tree?
regards Thomas A.