[PHP] arrays in a class

2002-04-23 Thread Leotta, Natalie (NCI/IMS)
Do I have to do anything different to access an array in a class? I have var $apcs = array(); at the top of my class I set it using $line1-adj_array[$pos] = (integer) $value; in the read-in part of the app that uses the class ($line1 is the object, $pos is just a number) Later

Re: [PHP] arrays in a class

2002-04-23 Thread Alexander Skwar
»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:

RE: [PHP] arrays in a class

2002-04-23 Thread Leotta, Natalie (NCI/IMS)
: [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,apcs[0] = . $this-apcs[0],$this-black); Alexander Skwar

Re: [PHP] arrays in a class

2002-04-23 Thread Alexander Skwar
»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

RE: [PHP] arrays in a class

2002-04-23 Thread Leotta, Natalie (NCI/IMS)
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. Now I'm feeling dumb... It does