Code: Select all
<html>
<body>
<?php include ("header.html") ?>
<?php include ("content.html") ?>
<?php include ("footer.html") ?>
</body>
</html>Moderator: General Moderators
Code: Select all
<html>
<body>
<?php include ("header.html") ?>
<?php include ("content.html") ?>
<?php include ("footer.html") ?>
</body>
</html>What do you mean by new content ?kate_sfd wrote: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 to show that new content will be inserted? for example about.html, contact.html etc..
Code: Select all
<html> <body> <?php include ("header.html") ?> <?php include ("content.html") ?> <?php include ("footer.html") ?> </body> </html>
Code: Select all
<div><p> just text</p></div>