title: How to make my next button to submit form?
body: <p>I am creating a student information form in html as in the image: </p>
  
  <p><img src="https://i.stack.imgur.com/5MatP.png" alt="enter image description here"></p>
  
  <p>My next button is an image and the code for it is as follows:</p>
  
  <pre><code>&lt;input type="image" id="registersubmit6" name="registersubmit6" src="images/arrow-right.png"  title="finish" onclick=""/&gt;
  </code></pre>
  
  <p>When user clicks on next button, I want to submit this form and move to next page.How I can do both at the moment?</p>
  
  <p>Should I use javascript or PHP? and if yes then how?</p>