Re: tutorial example problem
| From: | Daniel Beulshausen | Date: | Tue, 03 Apr 2001 20:25:03 +0000 |
| Subject: | Re: tutorial example problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6472@lists.php.net to get a copy of this message | ||
At 22:47 03.04.2001 +0300, Vlad Bejenaru aka BJ wrote:
I copied this example from the tutorial page of php.net: first is the file with the form: <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 second is da action: Hi <?php echo $name?>. You are <?php echo $age?> years old. the problem is that is not listing the values that i submit in the first file. Can anyone tell me what is wrong? I tried and with method get and the result is the same!turn on register_globals in your php.ini or even better use the EGPCS arrays. echo $HTTP_POST_VARS["name"], $HTTP_POST_VARS["age"] daniel /*-- daniel beulshausen - daniel@php4win.de using php on windows? http://www.php4win.de