SyntaxFix
Write A Post
Hire A Developer
Questions
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´..."