Re: RE: [PHP-GENERAL] Please help

From: Date: Thu, 01 Mar 2001 07:30:42 +0000
Subject: Re: RE: [PHP-GENERAL] Please help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42130@lists.php.net to get a copy of this message
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

« previous php.general (#42130) next »