title: PHP - Change entire page content on submit button
body: <p>I have two php pages index.php and page2.php.<br>
  I want when the first time my website loads it will show index.php which has a search button in it.On clicking the submit button I want to show entire content of page2.php(which now I am showing on page2.php only) on index.php there by removing the need for page2.php.</p>