note 12476 deleted from ref.array by jeroen
| From: | jeroen@php.net | Date: | Wed, 29 Aug 2001 17:54:39 +0000 |
| Subject: | note 12476 deleted from ref.array by jeroen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17340@lists.php.net to get a copy of this message | ||
i found out that multidemensional array's don't work that well with echo. At least, not
within quotes.
this doesn't work:
echo "$arrayname[1][name]";
while this does:
echo $arrayname[1][name];
And this is also no problem:
echo "$arrayname[name]";
(with another array, offcource).
It's not really a big problem, but it took me a long time to find this 'bug' in my
code.