note 30374 added to language.variables.scope
| From: | kevin_pierre at hotmail dot com | Date: | Sat, 15 Mar 2003 19:36:22 +0000 |
| Subject: | note 30374 added to language.variables.scope | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45364@lists.php.net to get a copy of this message | ||
can someone please help me, i installed apache and did a page with : <? phpinfo(); ?> and it
worked fine so im ok but when i do a form, it can't send the string plz help me
test.php3:
<html>
<body>
<form action="testing.php3">
Prénom: <input type="text" name="prenom">
<input type="submit">
</form>
</body>
</html>
testing.php3:
<html>
<body>
print("Hi $prenom !\n");
?>
</body>
</html>
and i get his error:
Notice: Undefined variable: prenom in C:\Program Files\Apache Group\Apache2\htdocs\testing.php3 on
line 4
HI !
PLEASE REPLY ME IN MY E-MAIL
--
http://www.php.net/manual/en/language.variables.scope.php
http://master.php.net/manage/user-notes.php?action=edit+30374
http://master.php.net/manage/user-notes.php?action=delete+30374
http://master.php.net/manage/user-notes.php?action=reject+30374