Nilesh,

> <html>
> <head> </head>
> <body>
> <FORM METHOD=GET ACTION="text.php">
>  WHO IS UR FAVORATE AUTHOR ?
> <INPUT NAME="Author" TYPE="TEXT">
> <br>
> <br>
> <INPUT TYPE = SUBMIT>
> </FORM>
> </body>
> </html>
Ok, I just created the text.html file.

> 
> and then i have written a php script file text.php with the following code
> 
> <html>
> <head> </head>
> <body>
> your favorate author is :
> <?php
> echo $Author;
> ?>
> </body>
> </html>

And I created the text.php file. (both in my www root)

>   when i view the text.html in my browser and type in the name of the author
> ,i am expected to get the result " your favorate author is <author name>
>  but this dosent seem to happen. Can  u help me ?

I DO get the desired result though! Is there something you might have
overlooked? Are they both in the same directory? What browser are you
using? What's happening? Since I copied your code, and it works for me,
I'm thinking its either a browser issue, or where the files are placed,
etc...you sure everything's installed correctly/working fine?
Best of luck,
Jack Dempsey

-- 
PHP General 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