Member Avatar
[NOPE]FOREVER

What is a php master page? There is a question that I want to answer which is 'What is a master page and how can it be setup for a PHP application'. The only thing I have really found is that a master page is like a template?

Could someone please help me answer this question?

Cheers!

The only thing I have really found is that a master page is like a template?

Yes, but master page is a definition for ASP.Net and Visual Studio (I think), in PHP we (or at least, I would) simply talk about templates.

Simply master page is a page at which we show our all pages.
for this purpose we name this page as dashboard,template or home page.
we include all the css and js file in this page.
we make 3 parts in master page.
1:header:
        In this part we include css,js etc.or we make a header file and include this file in header.
2:content:
         content of any page.
3:footer:
            include footer file