Re: [PHP] what's undefined index ?

2002-03-26 Thread Kai Schaetzl
Your message of Tue, 26 Mar 2002 11:46:28 +1100: Undefined offset- numeric index doesn't exist Haven't seen one of these yet, but thanks for the warning ;-) Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com IE-Center:

Re: [PHP] what's undefined index ?

2002-03-25 Thread Kai Schaetzl
Your message of Mon, 25 Mar 2002 11:35:57 +1100: undefined variable is when you try to use a variable before you set it, eg $foobar undefined index is when you try to reference an array index before you set it, eg $foobar[10] Hi, thank you both for the explanation. It's clear why I get the

RE: [PHP] what's undefined index ?

2002-03-25 Thread Darren Gamble
GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Kai Schaetzl [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 9:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] what's undefined index ? Your message of Mon, 25 Mar 2002 11:35:57 +1100

RE: [PHP] what's undefined index ?

2002-03-25 Thread Martin Towell
, you answered your own question. HTH Martin -Original Message- From: Kai Schaetzl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 3:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] what's undefined index ? Your message of Mon, 25 Mar 2002 11:35:57 +1100: undefined variable

Re: [PHP] what's undefined index ?

2002-03-25 Thread Kai Schaetzl
Your message of Mon, 25 Mar 2002 09:39:06 -0700: The error message refers to the KundeRemark in $val[KundeRemark], not $KundeRemark which you are trying to assign the result to. The former is (if it existed) an index, the latter is a variable. Oh, yeah, I see. Stupid me. Thanks! Kai --

RE: [PHP] what's undefined index ?

2002-03-25 Thread Martin Towell
] what's undefined index ? Your message of Mon, 25 Mar 2002 09:39:06 -0700: The error message refers to the KundeRemark in $val[KundeRemark], not $KundeRemark which you are trying to assign the result to. The former is (if it existed) an index, the latter is a variable. Oh, yeah, I see. Stupid me

RE: [PHP] what's undefined index ?

2002-03-24 Thread Martin Towell
undefined variable is when you try to use a variable before you set it, eg $foobar undefined index is when you try to reference an array index before you set it, eg $foobar[10] -Original Message- From: Kai Schaetzl [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 11:31 AM To:

Re: [PHP] what's undefined index ?

2002-03-24 Thread Jason Wong
On Monday 25 March 2002 08:35, Martin Towell wrote: undefined variable is when you try to use a variable before you set it, eg $foobar undefined index is when you try to reference an array index before you set it, eg $foobar[10] Just to extend the explanation further. The most common cause