Here's an error that I am stuck with, really clueless as to why the error: Notice: Undefined index keep appearing and the line giving the problem is $_GET method or function. I created 2 simple forms. One is called myform.php and the form contains 2 input types, namely firstname and age. Another form is called action.php which prints out the name and age. The form returns error: undefined index when using $_GET["firstname"] but returns no error when using $_POST["firstname"]. Why is this so? I had tried all means to solve the error by setting register_globals = on and reinstalling the web server, mySQL and PHP but the error, undefined index still appears! I am at my wits end. Pls help. Btw, I am using IIS5.0, MySQL 4.0.14 and PHP4.3.2
Start Free Trial