Re: Multiple Arrays
| From: | Teodor Cimpoesu | Date: | Tue, 01 Aug 2000 16:10:14 +0000 |
| Subject: | Re: Multiple Arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9473@lists.php.net to get a copy of this message | ||
Hi Kris!
On Wed, 02 Aug 2000, Kris Howl wrote:
> When I use this code, I get a Parse error.
>
> $marray = array(
> "marray" =>
> ("a"=>"orange","e"=>"apple","d"=>"pear"),
should be:
"marray" => array
("a"=>"orange","e"=>"apple","d"=>"pear"),
so on.
> "taste" =>
> ("z"=>"bitter","x"=>"nice","y"=>"yuck"),
> "color" =>
> ("j"=>"orange","k"=>"red","l"=>"yellow"),
> "size" => (1,2,3,4)
> );
>
-- teodor