-Natalie
-Original Message-
From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 4:45 PM
To: Leotta, Natalie (NCI/IMS)
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] arrays in a class
»Leotta, Natalie (NCI/IMS)« sagte am 2002-04-23 um 16:37:37 -0400 :
> Wow.
»Leotta, Natalie (NCI/IMS)« sagte am 2002-04-23 um 16:37:37 -0400 :
> Wow. Now I'm feeling dumb... It does work with my non-array vars though -
Yes, it doesn't suprise me that it works with non arrays. The parser
doesn't seem to be clever enough to catch that you want to pass [0] as
the array
t: Re: [PHP] arrays in a class
»Leotta, Natalie (NCI/IMS)« sagte am 2002-04-23 um 16:27:46 -0400 :
> ImageString($this->im,1,65,5,"apcs[0] =
> $this->apcs[0]",$this->black);
Hm, try to use proper syntax here, ie:
ImageString($this->im,1,65,5,"apc
»Leotta, Natalie (NCI/IMS)« sagte am 2002-04-23 um 16:27:46 -0400 :
> ImageString($this->im,1,65,5,"apcs[0] = $this->apcs[0]",$this->black);
Hm, try to use proper syntax here, ie:
ImageString($this->im,1,65,5,"apcs[0] = " . $this->apcs[0],$this->black);
Alexander Skwar
--
How to quote:
4 matches
Mail list logo