mediabob Posted July 8, 2007 Share Posted July 8, 2007 In the site I am building I am using templates to make it easier, what do you think is the best way to do it, put the header and footer together and include the body, or include the header and footer in the body? For example: include ('header.php'); Body Here include ('footer.php'); OR Header here include ('body.php'); Footer here Thanks for your opinion! Link to comment https://forums.phpfreaks.com/topic/58948-question-about-includes/ Share on other sites More sharing options...
Yesideez Posted July 8, 2007 Share Posted July 8, 2007 I'd have header and footer separate and include them with the body in separate files (your first example) Link to comment https://forums.phpfreaks.com/topic/58948-question-about-includes/#findComment-292506 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.