Array keys referencing value from another array key???

From: Date: Sun, 06 Jun 2004 21:58:37 +0000
Subject: Array keys referencing value from another array key???
Groups: php.general 
Request: Send a blank email to php-general+get-187763@lists.php.net to get a copy of this message
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' => '<b>' . $array['key_1'] . '</b>' ); And the array structure would be something like -> array('key_1' => 'This is some text', 'key_2' => '<b>This is some text</b>') Just wanted to see if it were possible, as my attempts were futile. Its not a requirement on my end, just wanted to see if it were possible... :) Thanks

« previous php.general (#187763) next »