title: PHP Form with process on same page?
body: <p>I've created a form on my page and from the tutorials im following it says I have to have a second page with all the php processing in, is it not possible to keep the php on the same page and when the user hits submit the form is sent? </p>
  
  <p>Why isnt this working on my process page? It doesnt echo anything :S</p>
  
  <pre><code>&lt;?php 
  $kop = mysql_real_escape_string($_POST['severity']);
  $loc = mysql_real_escape_string($_POST['location']};
  $summary = mysql_real_escape_string($_POST['summary']);
  $name = mysql_real_escape_string($_POST['name']);
  $email = mysql_real_escape_string($_POST['email']);
  
  echo $kop;
  echo $loc; 
  echo $summary; 
  echo $name; 
  echo $email;
  ?&gt;
  </code></pre>