FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » Undefined index
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Undefined index [message #159398 is a reply to message #39876] Sat, 30 May 2009 04:36 Go to previous messageGo to previous message
sarannan is currently offline  sarannan   Malaysia
Messages: 1
Registered: May 2009
Karma:
Junior Member
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

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: object not found on regular webpages
Next Topic: java script to php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 04 09:20:59 GMT 2024

Total time taken to generate the page: 0.04056 seconds