title: Scroll to id PHP function
body: <p>I have a form that on submit refreshes the page and shows the errors.I just need it to scroll back to the form.This is the form tag:</p>
  
  <pre><code>&lt;form id='contactus' action='&lt;?php echo $formproc-&gt;GetSelfScript(); ?&gt;' method='post' accept-charset='UTF-8'&gt;
  </code></pre>
  
  <p>This is the function:</p>
  
  <pre><code>function GetSelfScript()
  {
      return htmlentities($_SERVER['PHP_SELF']);
  }
  </code></pre>
  
  <p>How do I add the #contact to the function?</p>
  
  <p>Thanks!</p>