frames need external pages to load from, that is prob why its giving three pages, and your mane one is the one where alll the frames will load
or use php includes
ex: lets say u wanna include a menu template
so ur page.php has this in it
Code:
<html>
<body>
<?php include("menu.php"); ?>
<h1>Welcome to my home page</h1>
<p>Some text</p>
</body>
</html>
menu.php has
Code:
<a href="http://www.w3schools.com/default.php">Home</a> |
<a href="http://www.w3schools.com/about.php">About Us</a> |
<a href="http://www.w3schools.com/contact.php">Contact Us</a>
when the code is used, you get this
Code:
<html>
<body>
<a href="http://www.w3schools.com/default.php">Home</a> |
<a href="http://www.w3schools.com/about.php">About Us</a> |
<a href="http://www.w3schools.com/contact.php">Contact Us</a>
<h1>Welcome to my home page</h1>
<p>Some text</p>
</body>
</html>
stuff about php includes
http://www.w3schools.com/php/php_includes.asp
stuff about frames
http://www.w3schools.com/html/html_frames.asp
http://www.w3schools.com/tags/tag_iframe.asp