well after thinking about it a big more, i'm using it in the wrong context for how i use it in PHP. in PHP, when i have an associative array, I use the attempted-to-describe-above method for working with variables instead of array elements:

Code:
$test['1'] = right;
$test['2'] = wrong;
$test['3'] = either;

foreach ($test as $key => $val) {
$$key = $val
}



so then, $1 = right, $2 = wrong, etc. again, sorry for asking a question incorrectly. =/


Edited by thepip3r (2006-06-09 08:57 PM)