title: Refresh page automatically after submitting form
body: <p>After I submit my data from form I don't see it immediate on my screen, I have to refresh it via browser refresh button. </p>
  
  <pre><code>&lt;form action="" method="post"&gt;  
  
  &lt;input type="submit" name="submit"  &gt;
  </code></pre>
  
  <p>I was using the <code>setTimeout</code> function but it gave me lot of issues in submitting to the database and retrieving from it. I could not debug it properly, and so I removed this function. Without <code>setTimeout</code>, I am able to store in the database and retrieve via the refresh button. But how do I make it immediately auto refresh?</p>