Include header, main, footer

Previously, I think it was here that I got tips on instead of setting up a page with templates as I have done before by importing “header.php, front.php, footer.php”.

<? include $ROOT.'header.php'; include $ROOT.'front.php'; include $ROOT.'footer.php'; ?>

The thing is, I was told about a new way to do it? Can someone tell me the way to do it.
I don’t remember where I was told that.

I recommend that you review your threads. There are 5 with replies - Profile - Leon - PHPHelp

Sponsor our Newsletter | Privacy Policy | Terms of Service