title: How to trigger browser's back event/function using JavaScript?
body: <p>I want to trigger the browser's back functionality through a hyperlink in my page template, using JavaScript (or PHP if possible). Does anyone know how to implement this?</p>
  
  <p><strong>EDIT</strong><br>
  Found the solution using JavaScript. <a href="http://www.sightspecific.com/~mosh/WWW_FAQ/back.html" rel="noreferrer">Here is the link</a> if anyone needs it.<br/>
  And here's the code:  </p>
  
  <pre><code>&lt;a href="#" onclick="history.back();return false;"&gt;Go back&lt;/a&gt;
  </code></pre>