title: HTML Button that saves and move to the next page
body: <p>I have a small problem. I want to have a button in my html page that saves every data that is added in the textfields and also when I click it to move to the next page.</p>
  
  <p>My code is the follow...</p>
  
  <pre><code>&lt;input type=button onClick="location.href='education.php'" value='Next'&gt;
  </code></pre>
  
  <p>but it only moves to next page it does not save the data in the database ...</p>
  
  <p>Can you help me please?
  Thanks.</p>