[PHP] Problem in the output of an array

2003-11-29 Thread orlandopozo
I have this code, I would like, if this could be done ? $array['dim1']['dim2']['dim3'][3] = value; $dim1 = 'dim1'; $dim2 = 'dim2'; $dim3 = 'dim3'; $dim4 = 3; $test = [$dim1][$dim2][$dim3][$dim4]; $result = $array$test; echo $result; ? The output is : Array[dim1][dim2][dim3][3] I need that

[PHP] Problem in the output of an array

2003-11-29 Thread orlandopozo
I have this code, I would like, if this could be done ? $array['dim1']['dim2']['dim3'][3] = value; $dim1 = 'dim1'; $dim2 = 'dim2'; $dim3 = 'dim3'; $dim4 = 3; $test = [$dim1][$dim2][$dim3][$dim4]; $result = $array$test; echo $result; ? The output is : Array[dim1][dim2][dim3][3] I need that

Re: [PHP] Problem in the output of an array

2003-11-29 Thread sophie
I'm soory but your code doesn't make me understand what you want to do... Be more precise, it will help you to get some help I have this code, I would like, if this could be done ? $array['dim1']['dim2']['dim3'][3] = value; $dim1 = 'dim1'; $dim2 = 'dim2'; $dim3 = 'dim3'; $dim4 = 3;

Re: [PHP] Problem in the output of an array

2003-11-29 Thread sophie
now i understand your pb but have no idea to solve it good luck... I'm soory but your code doesn't make me understand what you want to do... Be more precise, it will help you to get some help I have this code, I would like, if this could be done ? $array['dim1']['dim2']['dim3'][3] =

Re: [PHP] Problem in the output of an array

2003-11-29 Thread Robert Cummings
On Sat, 2003-11-29 at 19:29, [EMAIL PROTECTED] wrote: I'm soory but your code doesn't make me understand what you want to do... Be more precise, it will help you to get some help I have this code, I would like, if this could be done ? $array['dim1']['dim2']['dim3'][3] = value;

Re: [PHP] Problem in the output of an array

2003-11-29 Thread Robert Cummings
On Sat, 2003-11-29 at 19:47, Robert Cummings wrote: On Sat, 2003-11-29 at 19:29, [EMAIL PROTECTED] wrote: I'm soory but your code doesn't make me understand what you want to do... Be more precise, it will help you to get some help I have this code, I would like, if this could be done