ok, i dont want to use include because it only appends the new page data to the current page, as far as my understanding of include() is
so if i have php code, mypage.php
<?php
print '<p>This is some content</p>';
include 'myotherpage.php';
print '<p>This is more content</p>';
?>
and myotherpage.php simply prints a statement like "I'm new to PHP", what i will get as output is
This is some content
I'm new to PHP
This is more content
What i want to do is have it so that myotherpage is opened seperately, so that all i see is
I'm new to PHP