strange...
echo 'blah blah blah ' . $this->arrayname['value'] . ' blah';
should work just as fine.
I think you are confused with strings.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Mess
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
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
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've been trying to figure this ou
4 matches
Mail list logo