RE: [PHP] Real Problem: Accessing Array In A Class

2001-04-09 Thread PHPBeginner.com
hpbeginner.com -Original Message- From: DELAP, SCOTT F (SBCSI) [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 11:28 PM To: [EMAIL PROTECTED] Subject: [PHP] Real Problem: Accessing Array In A Class I've been trying to figure this out for a day or so now. Someone need

Re: [PHP] Real Problem: Accessing Array In A Class

2001-04-09 Thread Morgan Curley
Use the string concat operator print "blah blah blah ".$this->arrayname['value']." blah"; Morgan At 10:27 AM 4/9/2001, you wrote: >I've been trying to figure this out for a day or so now. Someone needs to >do a concise tutorial with arrays, references, etc. with PHP. I've got a >class that

Re: [PHP] Real Problem: Accessing Array In A Class

2001-04-09 Thread Rasmus Lerdorf
Don't put complex variables inside quoted strings like that. Simply break out of your quoted string and do: print "blah blah blah " . $this->arrayname['value'] . " blah"; -Rasmus On Mon, 9 Apr 2001, DELAP, SCOTT F (SBCSI) wrote: > I've been trying to figure this out for a day or so now. Some

RE: [PHP] Real Problem: Accessing Array In A Class

2001-04-09 Thread Taylor, Stewart
Try, print "blah blah blah {$this->arrayname['value']} blah"; -Stewart -Original Message- From: DELAP, SCOTT F (SBCSI) [mailto:[EMAIL PROTECTED]] Sent: 09 April 2001 15:28 To: [EMAIL PROTECTED] Subject: [PHP] Real Problem: Accessing Array In A Class I'v

[PHP] Real Problem: Accessing Array In A Class

2001-04-09 Thread DELAP, SCOTT F (SBCSI)
I've been trying to figure this out for a day or so now. Someone needs to do a concise tutorial with arrays, references, etc. with PHP. I've got a class that has a member variable that is an array. When I try to access it in a function like this: print "blah blah blah $this->arrayname['value']