POST problem
| From: | Mashrab Kuvatov | Date: | Tue, 28 Aug 2001 17:39:46 +0000 |
| Subject: | POST problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-64850@lists.php.net to get a copy of this message | ||
Hi everybody,
i'm a newie in php, but i have a general understanding
of it.
Recently, i've installed PHP as a static module on my
Apache-1.3.19 and tried an example i read in PHP
tutorial.
Assume you have a page with a form like this on it:
<form action="action.php" method="post">
Your name: <input type="text" name="name">
You age: <input type="text" name="age">
<input type="submit">
</form>
and action.php like this
Hi <?php echo $name; ?>.
You are <?php echo $age; ?> years old.
This action.php is supposed to print out values one
enters to the form fields. Right?
So, my problem is that it doesn't. Instead, it prints
Hi.You are years old.
Can anyone help me to figure it out or to point me to
the right direction so in future i won't annoy you
with my silly questions.
Thanks in advance,
Mashrab.
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/