Re: [PHP] Problem in the output of an array
sophie_at_sitadelle.com
Date: 11/30/03
- Next message: sophie_at_sitadelle.com: "Re: [PHP] Problem in the output of an array"
- Previous message: orlandopozo_at_icnet.com.ve: "Problem in the output of an array"
- In reply to: orlandopozo_at_icnet.com.ve: "Problem in the output of an array"
- Next in thread: sophie_at_sitadelle.com: "Re: [PHP] Problem in the output of an array"
- Maybe reply: sophie_at_sitadelle.com: "Re: [PHP] Problem in the output of an array"
- Reply: Robert Cummings: "Re: [PHP] Problem in the output of an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Nov 2003 01:29:35 +0100 (CET) To: <php-general@lists.php.net>
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;
>
> $test = "[$dim1][$dim2][$dim3][$dim4]";
> $result = "$array$test";
>
> echo $result;
> ?>
>
> The output is : Array[dim1][dim2][dim3][3]
>
> I need that the output was: value
>
> Thanks in advanced for any help.
- Next message: sophie_at_sitadelle.com: "Re: [PHP] Problem in the output of an array"
- Previous message: orlandopozo_at_icnet.com.ve: "Problem in the output of an array"
- In reply to: orlandopozo_at_icnet.com.ve: "Problem in the output of an array"
- Next in thread: sophie_at_sitadelle.com: "Re: [PHP] Problem in the output of an array"
- Maybe reply: sophie_at_sitadelle.com: "Re: [PHP] Problem in the output of an array"
- Reply: Robert Cummings: "Re: [PHP] Problem in the output of an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]