doubledee Posted April 21, 2011 Share Posted April 21, 2011 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 More sharing options...
maxudaskin Posted April 21, 2011 Share Posted April 21, 2011 Take a look at this. Link to comment https://forums.phpfreaks.com/topic/234302-need-help-breaking-up-code/#findComment-1204298 Share on other sites More sharing options...
doubledee Posted April 21, 2011 Author Share Posted April 21, 2011 Take a look at this. Thanks, but too hard to read with all the ads and > jazz?! Debbie Link to comment https://forums.phpfreaks.com/topic/234302-need-help-breaking-up-code/#findComment-1204304 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.