kooshin
01-30-2007, 05:09 AM
Hello guys,
I'm thinking of making a website which will have a lot of pages or will need to be updated normally like the header and footer and a side navigation etc. I have seen that there is a way you can include pages and create links like index.php?page=contactus just to separate the design for the content.
The problem with that is that I will have to edit the index.php file and right a new switch statement whenever I want to add a new link.I talked to a guy who said that links can get created automatically without using a database and that all I need is to upload the new page you create but is this possible? Like having a nav with 8 links then adding more pages and links getting created? If it is possible , how can it be done?
Of course I will want something that will be easy to implement and also being easy to validate its html.
So I guess everyone has a special method to create their navigations specially text based ones and for that reason please share it with us.
Thanks in advance
I'm thinking of making a website which will have a lot of pages or will need to be updated normally like the header and footer and a side navigation etc. I have seen that there is a way you can include pages and create links like index.php?page=contactus just to separate the design for the content.
The problem with that is that I will have to edit the index.php file and right a new switch statement whenever I want to add a new link.I talked to a guy who said that links can get created automatically without using a database and that all I need is to upload the new page you create but is this possible? Like having a nav with 8 links then adding more pages and links getting created? If it is possible , how can it be done?
Of course I will want something that will be easy to implement and also being easy to validate its html.
So I guess everyone has a special method to create their navigations specially text based ones and for that reason please share it with us.
Thanks in advance
