I'm trying to process data from a form, regardless whether I'm using GET or
POST method,  the value that i get in the processed form is still null.

I check in the error log file and this is what it say:
[Wed Oct 09 20:18:47 2002] [error] PHP Notice:  Undefined variable:  name in
e:\program files\apache group\apache\htdocs\test.php3 on line 3

Or is there something wrong in my code? Or something with my setting?

<form method=GET action=test.php3>

    <tr>
      <td width="50%" style="border-style: none; border-width: medium"
height="20">
  <p>Name: <input type="text" name="name" size="20"></p>
  <p>&nbsp;</p>
  <p><input type="submit" value="Submit" name="submit"><input type="reset"
value="Reset" name="B2"></p>
</form>
----------------------------------------------------------------------------
-----------------------
<html>
<?php
print "my name is $name";
?>
</html>





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to