I need some help in creating a php website. I will try to explain as best i can. Imagine a website with a header, footer, small menu (left), and a main page (right). Well the header, footer and menu will remain the same on each page. The the main section of the page will vary acording to the url.
EXAMPLE: my.com/index.php?viewpage=5425
This loads a page with stuff in the main table. eg Hello World
EXAMPLE: my.com/index.php?viewpage=2318
This loads a page with stuff in the main table. eg Bonjour
EXAMPLE: my.com/index.php?viewpage=8405
This loads a page with stuff in the main table. eg Send Email
my.com/index.php
But This loads the homepage.
I want to other all template of the site to run from a templates.html page so that its easy to update without messing in the php codes. I want to be able to add page with ease and not be messing arounf adding new commands to the script.
My ICQ is: 121949449
My Email is: owntree@hotmail.com
Thank you for your help.