Thanks; after some all-nighter testing have come up with a solution.
Will definitely have to access the individual variables as
("quoted_strings") instead of ($variable).
Looks like this works:
array("name", "srch", "sel", "case", "qvalues" => array(0
=> array("values", "valtypes"),
Ok, let me make sure I understand:
I see that you included brackets after the $out ($out[] = array instead of
$out = array).
Does this denote that the $out is now a zero-based array?
$out[0] is now an array that has $name, $srch, $sel and $case as single
elements in that array.
$out[1] is the next
> --
> From: Ken Hopkins [SMTP:[EMAIL PROTECTED]]
> Sent: 20 August 2001 21:02
> To: [EMAIL PROTECTED]
> Subject: Multi-dimensional array issue
>
> Hi from a recent PHP convert,
>
> Having a heck of a time declaring and accessing 2 dimensio
The first thing is that 2-dimensional arrays don't really exist in php. Any
element of any array can be another array. The second important point is
that all php arrays are associative. If you don't declare the key of an
element (e.g. $out[] = "fred") when creating it you get the next integer
ava
4 matches
Mail list logo