I have an associative array in the form key => value where key is a numerical value, however it is not a sequential numerical value. The key is actually an I
key => value
if your array is built from a database query, you can change the key directly from the mysql statement:
array
mysql
instead of
"select ´id´ from ´tablename´..."
use something like:
"select ´id´ **as NEWNAME** from ´tablename´..."