Hi from a recent PHP convert,
Having a heck of a time declaring and accessing 2 dimensional info in an array.
any input on where to start looking for the answer would be greatly appreciated.
I want to have a base array of 5 elements. The first 4 elements are variables, and the
fifth is an array
the variables are at the time the array is
> initialised.
>
> What I think you wanted (I'm not entirely sure) is more along the lines of
> ..
> for ($i=0; $I < $num_out; $I++)
> $out[] = array("name"=>$name, "srch"=>$srch, "sel"=>$sel,
&
;, $out[1]["case"], "\n";
echo " Subarray index : 0 \n";
echo " vals : ", $out[1]["qvalues"][0]["values"],
"\n";
echo " valtypes : ", $out[1]["qvalues"][0]["v
3 matches
Mail list logo