Hello I have to make this new website, without CMS or database, it's a corporate website. I want it to be a little bit dynamic, so I thought about throwing the website structure into an array. The problem is now where to go from here? Here is my array (the items are fictional, but represent a possible structure: [code]$menu = array( "Home" => "home.php", "products" => array ( "root" => "products.php", "Hardware" => array ( "root" => "products-hardware.php", "screens" => "products-hardware-screens.php", "desktops" => "products-hardware-desktops.php", "workstations" => "products-hardware-workstations.php", "Policy & practice" => "services-consulting-policy-practice.php" ), "Software" => array ( "root" => "products-software.php", "office" => "products-software-office.php", "management" => "products-software-management.php" ), "Whatever" => "products-whatever.php" ), "services" => array ( "support" => array ( "root" => "services-support.php", "general support" => "services-support-general-support.php", "no support" => "services-support-no-support.php" ), "catering" => array ( "root" => "services-catering.php", "Sandwiches" => "services-catering-sandwiches.php", "Weddings" => "services-catering-weddings.php" ), "Mechanic" => "services-mechanic.php" ) );[/code] What I would like to do is build my main menu of the root items (home | products | services), but that I can do. Further when you click products, you should go to products.php off course, and there get a submenu of hardware, software and whatever. When clicking one of those .. well the idea is obvious. I thougth about getting a url (since I work with the one script serves all method) like this: [code]index.php?page=products&sub1=hardware&sub2=screens[/code] But I don't know if that is good, and even how I could get the values out of that querystring (I tried regular expressions, but all I get is the keys, not the values). Maybe my method is complete wrong, and I should use another approach. But what my goal was with this, is that when a new category comes, no matter what level it is in, all that has to be done for the developers using it afterwards is adding the physical page with the same naming convention, and adding an item to the array. Tnx for all the help.