title: how to echo an input type in php
body: <p>Here's my code, what I want to do is to be able to have a back button in the script, so that the user will not be clicking on the back button on the web browser everytime he forgets to input something that is mandatory:
  But I get the parse error again,what should be the correct one? </p>
  
  <pre><code>   if(!isset($_POST['fname'])||trim($_POST['fname'])==""){die("Error:Enter Firstname!");     echo "&lt;input type="button" value="Back" onClick="history.go(-1);return true;"&gt;"
  
  }
  </code></pre>