Re: Simple Answer, but I can't see it....

From: Date: Tue, 01 Apr 2003 16:51:35 +0000
Subject: Re: Simple Answer, but I can't see it....
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-19227@lists.php.net to get a copy of this message
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: <Trystano@aol.com> To: <php-windows@lists.php.net> 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 > >

« previous php.windows (#19227) next »