RE: [PHP-WIN] Processing form data
| From: | Asendorf, John | Date: | Tue, 20 Feb 2001 15:42:17 +0000 |
| Subject: | RE: [PHP-WIN] Processing form data | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5662@lists.php.net to get a copy of this message | ||
You need to change your form action...
<FORM ACTION="Processform.php" METHOD=POST>
needs to become
<FORM ACTION="username.php" METHOD=POST>
OR
change username.php to Processform.php
see the problem?
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aut insanit homo, aut versus facit
> -----Original Message-----
> From: Denis L. Menezes [mailto:menezesd@singnet.com.sg]
> Sent: Tuesday, February 20, 2001 9:17 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Processing form data
>
>
> Hello friends.
>
> I am new to php4 which I am running on an intel machine with
> NT4 sp6 and
> IIS4.
>
> I have 2 forms name.php and username.php When I run the
> name.php, and click
> "submit data" button, the username.php does not appear. I
> have both the
> files in the same directory which is c:\inetpub\wwwroot.
> Appears to me that
> the FORM ACTION is not working and my username.php is noyt called. Can
> someone please help me and advise what I am doing wrong.
>
> <HTML>
> <!-- Name.php -->
> <BODY>
> <FORM ACTION="Processform.php" METHOD=POST><BR><BR>
> Please enter your name here :
> <INPUT TYPE=TEXT NAME="username"><BR><BR>
> <INPUT TYPE=SUBMIT VALUE="Submit data">
> </FORM>
> </BODY>
> </HTML>
>
>
> <HTML>
> <!-- processform.php -->
> <BODY>
> <?php
> echo ("Welcome, " . $username . "!")
> ?>
> </BODY>
> </HTML>
>
> Thanks in advance
> Denis
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>