php3-list | 199807
Date: 07/02/98
- Next message: Colin Viebrock: "Re: [PHP3]"
- Previous message: Rasmus Lerdorf: "Re: [PHP3] arrays using check boxes"
- Next in thread: Colin Viebrock: "Re: [PHP3]"
- Reply: Colin Viebrock: "Re: [PHP3]"
- Reply: Zeev Suraski: "Re: [PHP3]"
- 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";
That's a feature I didn't know about!
Can I use it to add strings together?
$a=$b.$c;
instead of
$a=$b+$c; ?
Or is it only for breaking strings like:
$a="$b".$c."$d"; (Something like that..)
Does it work on functions too?
--- Marcus______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
-- 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: Colin Viebrock: "Re: [PHP3]"
- Previous message: Rasmus Lerdorf: "Re: [PHP3] arrays using check boxes"
- Next in thread: Colin Viebrock: "Re: [PHP3]"
- Reply: Colin Viebrock: "Re: [PHP3]"
- Reply: Zeev Suraski: "Re: [PHP3]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

