this is the source of index.php:
<?php include("menu.inc"); ?>
<p>This is my home page that uses a common menu to save me time when I add new pages to my website!</p>
</body>
</html>
the text show on the screen is:
This is my home page that uses a common menu to save me time when I add new pages to my website!
the first part of the <html> is in the
menu.inc file :
<html> <body>
<a href="index.php">Home</a> -
<a href="about.php">About Us</a> -
<a href="links.php">Links</a> -
<a href="contact.php">Contact Us</a> <br />
as i can understand the include should get the first part (menu.inc) into index.php
and when i what the source code it should be like this:
<html>
<body>
<a href="index.php">Home</a> -
<a href="about.php">About Us</a> -
<a href="links.php">Links</a> -
<a href="contact.php">Contact Us</a> <br />
<p>This is my home page that uses a common menu to save me time when I add new pages to my website!</p>
</body>
</html>
it's wird isent it?! hehe