Jump to content

Question about includes . . .


mediabob

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.