php3-list | 199807
Date: 07/02/98
- Next message: Numard (Norberto Meijome): "[PHP3] [OFF TOPIC] FrontPage woes..."
- Previous message: Rasmus Lerdorf: "Re: [PHP3] mailing with php3 and sendmail"
- In reply to: by way of Andi Gutmans: "[PHP3] "multidim. array" problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Short description:
> Multidimensional arrays in double quotes (e.g. "$a[b][1]")
> are not expanded in the right way.
You can't use multi-dimensional arrays inside a quoted string like that.
Only simple variables are supported inside quoted strings right now. Not
a big limitation since you can just break out.
eg. echo "This is my ".$a[b][1]." variable";
-Rasmus
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
- Next message: Numard (Norberto Meijome): "[PHP3] [OFF TOPIC] FrontPage woes..."
- Previous message: Rasmus Lerdorf: "Re: [PHP3] mailing with php3 and sendmail"
- In reply to: by way of Andi Gutmans: "[PHP3] "multidim. array" problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

