kate_sfd Posted March 29, 2009 Share Posted March 29, 2009 I coded my template into sections, and the "content.html" will change according to what menu link is clicked. How do I code that line of PHP in this main template so i can simply create a blank document and than cut and paste just the html content for each new page created, for example about.html, contact.html: <html> <body> <?php include ("header.html") ?> <?php include ("content.html") ?> <?php include ("footer.html") ?> </body> </html> Link to comment https://forums.phpfreaks.com/topic/151639-php-template-integration/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.