On Nov 29, 2007 7:47 AM, Mark Head <[EMAIL PROTECTED]> wrote:
> I seem to be having a problem in assigning a value to an array where the
> array is called dynamically.
>
> e.g. the physical name for the array is "my_array", so:
> my_array[1] = "test";
> works fine.
>
> $array_name = "my_array";
> $
I seem to be having a problem in assigning a value to an array where the
array is called dynamically.
e.g. the physical name for the array is "my_array", so:
my_array[1] = "test";
works fine.
$array_name = "my_array";
$array_name[1] = "test";
does not work.
I have tried $$array_name[1] = "test"
2 matches
Mail list logo