#29670 [Opn->Bgs]: Error declare variable
ID: 29670
Updated by: derick@php.net
Reported By: caspersvn at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: windows 2000 pro
PHP Version: 5.0.0
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2004-08-14 04:12:16] caspersvn at yahoo dot com
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>
<? } ?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29670&edit=1
Thread (2 messages)