title: onclick replace php included file
body: <p>I am not sure if what I am trying to do is possible but here it is.</p>
  
  <p>I have a header, inside that header is a php include for "login.php"</p>
  
  <p>On "login.php" is a link that takes the user to "forgot.php".</p>
  
  <p>What I would like to do is, instead of the user being taken to "forgot.php" is to just refresh the page with "login.php" include replaced with "forgot.php" or do some sort of content switch out, sort of like using an Iframe.</p>
  
  <p>I dont want to bring the user to a new page, I just want to switch out the content displayed inside my header.</p>
  
  <p>Thanks for any help you can provide, code samples appreciated.</p>