Re: Design - Database, Hard File, Combination?
| From: | Burhan Khalid | Date: | Sun, 06 Apr 2003 01:12:12 +0000 |
| Subject: | Re: Design - Database, Hard File, Combination? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142557@lists.php.net to get a copy of this message | ||
Mike wrote:
Hi, So I'm working on a CMS that has the ability to move pages from one category to another, and whole sub-categories (and all their pages) to a different categories. I have a file that defines the hierarchy of the menu: .|Something ..|sub-something ..|sub-something else .|something -else ..|sub-something-else ...|etc. .|else-something ..|it's children [ snip ]I think if you were to change you menu definition file to XML, it would make this a lot easier. Then you can use the domxml functions to grab your parent/child relationships. -- Burhan Khalid phplist[at]meidomus[dot]com