|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-16 08:41 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 17:00:01 2025 UTC |
Description: ------------ when i run this page i receive an error Notice: Undefined variable: fname in E:\GPO\Webphp\guestbook\guestbook.php on line 52 and i can receive the value of variable if i submit from page 'A' to page 'B' (page B can not receive the value of variable what sent from page A) please show me the way to solve it. Thanks Reproduce code: --------------- <? if ($fname=="toan") { echo ("right"); } else { ?> <form method=post> Name: <input type="text" name="fname"> <input type="submit" name="submit" value="Enter Information"> </form> <? } ?>