title: php if isset post and else post
body: <p>I have html form with 2 buttons 'OK' and 'Cancel'
  to get first one I do: </p>
  
  <pre><code>if (isset($_POST['submit']))
  {
  </code></pre>
  
  <p>but how to use 'Cancel', so when I will click it it will redirect me to another page?</p>