Thats because the <FORM ACTION="Processform.php" METHOD=POST> will submit data
to Processform.php and NOT to username.php





____________________Reply Separator____________________
Subject:    [PHP-WIN] Processing form data
Author: PC:[EMAIL PROTECTED]
Date:       2001-02-20 15:24

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


*****************************************************
Patrik Lindström
Spectronic Research AB
Tel: +46 42 25 20 00
Fax: +46 42 15 68 32
Internet Address: [EMAIL PROTECTED]
Home Page: http://www.spectronic.se
*****************************************************

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to