PHP Includes
Please Read
1. This tutorial is written for Behind a Mask, not for your site
2. If this tutorial helped you please link us back
3. Do not copy and paste this tutorial and put it on your site
1. This tutorial is written for Behind a Mask, not for your site
2. If this tutorial helped you please link us back
3. Do not copy and paste this tutorial and put it on your site
This tutorial will teach you how to make headers and footers so you after, you will only need to edit one page if you want to edit the sidebar!
First of all, You see that your page maybe looks like this:
Something
Now seperate them into headers and footers and make pages named “header.php” and “footer.php”. Headers would be the layout and maybe sidebar, For example, if i was using the code above i would do it like this
header.php
And now instead of that you replace it with this
And my footer.php would be
instead of that on your page, replace it with this
And now you are done!

