i'm guessing (hoping) that you have an actual form inside those form tags? what's the rest of the code look like, and what does it actually do?
----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 5:48 PM Subject: [PHP-WIN] Simple Answer, but I can't see it.... > 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 > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php