Form Variable Problem

From: Date: Wed, 14 Jun 2000 09:47:50 +0000
Subject: Form Variable Problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-446@lists.php.net to get a copy of this message
Hi All, I'm learning PHP by using PHP4.0 with Window NT 4.0, IE 5.0 and IIS, and I write a form in a page just as mentioned in the tutorial of PHP Web Site: <form method="post" action="result.php"> Your Name: <input type=text name="name"><br> Your Age: <input type=text name="age"><br> <input type=submit> <input type=reset> </form> and I display the submitted varibles in another page: <? echo $HTTP_POST_VARS["name"].", you are ".$HTTP_POST_VARS["age"]." years old."; echo $name; ?> The problem is that "echo $name" display nothing as it should be, what's the problem, can anyone help me? Thanks in advance. Michael Shan

« previous php.windows (#446) next »