Is it wise to design each page using includes: see my crude example below:
Code: Select all
<?php include 'header.php';?>
<?php include 'navigation.php';?>
<?php include 'contents1.php';?>
<?php include 'footer.php';?>As I am still fairly new to php I just wanted to see if their is an ideal way to build a site without repeating too much code.
Any help would be greatly appreciated.
Brad.