Re: [PHP] Array keys referencing value from another array key???

2004-06-06 Thread Marek Kilimajer
Gerard Samuel wrote: Not sure if the subject was worded correctly, but I was looking to see if this (or something like it) is possible. $array = array('key_1' => 'This is some text', 'key_2' => '' . $array['key_1'] . '' ); And the array structure would

[PHP] Array keys referencing value from another array key???

2004-06-06 Thread Gerard Samuel
Not sure if the subject was worded correctly, but I was looking to see if this (or something like it) is possible. $array = array('key_1' => 'This is some text', 'key_2' => '' . $array['key_1'] . '' ); And the array structure would be something like