[PHP] Multi-dimensional array issue

2001-08-20 Thread Ken Hopkins
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

[PHP] Re: Multi-dimensional array issue

2001-08-21 Thread Ken Hopkins
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, &

[PHP] Re: Multi-dimensional array issue >solved

2001-08-21 Thread Ken Hopkins
;, $out[1]["case"], "\n"; echo " Subarray index : 0 \n"; echo " vals : ", $out[1]["qvalues"][0]["values"], "\n"; echo " valtypes : ", $out[1]["qvalues"][0]["v