Posted by Mike Dunlop on 09/27/05 21:09
On Sep 27, 2005, at 10:22 AM, Scott Fletcher wrote:
> [code]
> $array = array();
>
> $array['col1']['col2'] = "Test #1";
> $array['col3']['col2'] = "Test #2";
>
> $prefix = "['col3']['col2']";
>
> echo $array.$prefix; //Spitted out result as "Test #2"...
> [/code]
>
> This is the simple code that I'm trying to make it work. Does
> anyone know
> how does these work with array? Some help here...
>
> Thanks...
> FletchSOD
>
echo ${"array".$prefix};
[Back to original message]
|