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: http://i
L PROTECTED]
Subject: Re: [PHP] 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. T
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!
esn't exist...
so, in a way, 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
lanner, Regional Services
Shaw Cablesystems 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:
> "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
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
"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: [
8 matches
Mail list logo