|
Posted by Tim Roberts on 02/27/06 08:09
"Manifest Interactive" <manifestinteractive@gmail.com> wrote:
>Greetings,
>
>This is the standard syntax to build a PHP array:
>
>$myArray = array('index1' => 'val1', 'index2' => 'val2', 'index3' =>
>'val3');
>
>To create a multidimensional array you could use something like this:
>
>$myArray = array("A" => array("a", "b", "c" => array("x")), "B" =>
>"y");
>
>Not sure if this is close to what you are looking for
Not at all. He was trying to create a temporary array and reference an
element of it without saving to a variable. I, also, am surprised this
doesn't work.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
[Back to original message]
|