title: Unset POST values in php
body: <p>acitvity.php</p>
  
  <pre><code>//Form start
  
     &lt;form action=''&gt;
  
     &lt;/form&gt;
  
  //Form End
  
  //Get POST Values
  
  &lt;?php 
  
  $_POST[''];
  
  ?&gt;
  
  //End
  </code></pre>
  
  <p>if i refresh the page after form is submitted, all the posted values are resubmitted, reason because all values are in browser so they are resubmitted. When i was searching solution for this, i got info that if the form &amp; post operation done in separate php file then no more issue in posting values on refresh.</p>
  
  <p>Is this the solutions? but now i have to do both in single file &amp; POST values should not be submitted again on refresh.. is there any way to do this???</p>