ID: 17377 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Duplicate +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows NT PHP Version: 4.2.1 New Comment:
grrr Previous Comments: ------------------------------------------------------------------------ [2002-05-23 03:08:44] [EMAIL PROTECTED] Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the original bug instead. Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-05-23 03:05:09] [EMAIL PROTECTED] The content of text.html is <HTML> <HEAD> </HEAD> <BODY> <FORM METHOD=GET ACTION=text.php> Who is your favourite author? <INPUT NAME="author" TYPE="TEXT"> <BR> <BR> <INPUT TYPE=SUBMIT> </FORM> </BODY> </HTML> The content of text.php is <HTML> <HEAD> </HEAD> <BODY> <?php echo $author; ?> </BODY> </HTML> When a name is entered and the submit button is clicked, it goes to the text.php and shows the following error. Notice: Undefined variable: author in f:\Inetpub\wwwroot\Netproject\TestingSamples\text.php on line 5 PLEASE tell what to do about it AS SOON AS POSSIBLE. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17377&edit=1
