How to handle form action using php?
<p>In my home page, i had one submit button(form action $_SERVER[PHP_SELF]). By clicking submit button,(by some action), its shows me the "Accept" and "Reject" button. My "Accept" button(data should save in my database) is not at all working for me .(i pointed this also to form action $_SERVER[PHP_SELF]).But if i click on the "Accept" button, its brings to me to the home page only.</p>

<p>This is not working for me</p>

<pre><code>  if(isset($_POST['confirm']) &amp;&amp; ($_POST['confirm'])=="Confirm")

  {

  $name=$_POST['txt1'];

  echo $name;

  }
</code></pre>

<p>Please help me out.thanks in advance urgent.</p>
