Help me with master page
Posted: Fri Dec 04, 2009 10:02 am
I want to create a master page in php.
The scenario:
I have an index.php page which contains some banner at the top and a logo on the right top corner.
Now i create a new page named page1.php.
I want to make index.php as the masterpage and inherit all the content from index.php including the banner along with some content space in the page1.php.
page1.php must allow the content space to be edited.
So index.php is a masterpage.
Can someone send me the code for doing so and some more samples if possible.
Thnx in advanced.
The scenario:
I have an index.php page which contains some banner at the top and a logo on the right top corner.
Now i create a new page named page1.php.
I want to make index.php as the masterpage and inherit all the content from index.php including the banner along with some content space in the page1.php.
page1.php must allow the content space to be edited.
So index.php is a masterpage.
Can someone send me the code for doing so and some more samples if possible.
Thnx in advanced.