Jump to content

PHP template integration.


kate_sfd

Recommended Posts

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

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.