Hi, I have a login HTML form within a PHP page that I want to call itself when submitted. But when I press the submit button within the form, the form doesn't load itself for some reason. I have tried two ways of solving this but can't get it to work. It would be great if someone could identify where I have gone wrong.
I have the tried the following codes: <form method="post" action="SessionLogin.php"></form> //SessionLogin.php is the name of the actual file and... <?PHP $self = $_SERVER[ 'PHP_SELF' ]; ?> <form method="post" action="<?php echo $self ?>"></form> Both don't seem to work for some reason. Cheers in advance Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php