Jump to content

Need help breaking up code


doubledee

Recommended Posts

What is the best way to break up repeating code?

 

Make each page from a standard template (e.g. Header, Columns, Footer) and include the variable content using PHP??

 

Or make each page a stripped down PHP page which creates the variable content and then Includes the static parts (e.g. Header, Columns, Footer)??

 

Hope you follow me?!  :-/

 

 

Debbie

 

 

Link to comment
https://forums.phpfreaks.com/topic/234302-need-help-breaking-up-code/
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.