> How do I change the key in an array without having a duplicate key=>$value?
You could maybe use array_flip, change the value, then array_flip again. Or create your new key=>value and unset() the old one. $array[$new_key] = $array[$old_key]; unset($array[$old_key]); ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php