Forum Moderators: coopster

Message Too Old, No Replies

Notice: Undefined index

how can I get rid of this

         

BadGoat

3:21 pm on Sep 21, 2005 (gmt 0)

10+ Year Member



Hello!

I want to stop seeing this message. I remember seeing this awhile ago and psting in an error command, but for the life of me I cannot remember what it was, nor what I did with the code it was used in.

Help?

jatar_k

5:40 pm on Sep 21, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



you can adjust your error_reporting [php.net] to not show notices or you can initialize the indexes.

Longhaired Genius

7:47 pm on Sep 21, 2005 (gmt 0)

10+ Year Member



If it's an index in the GET array that's bothering you, you can initialise it via the request, eg:

www.example.com?myVariable=

kees mekhalel

8:42 pm on Sep 21, 2005 (gmt 0)

10+ Year Member



Just write

error_reporting(5);

it will close all error reportings