Hi,
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.
This is not working for me
if(isset($_POST['confirm']) && ($_POST['confirm'])=="Confirm")
{
$name=$_POST['txt1'];
echo $name;
}
Please help me out.thanks in advance urgent.