$arr[$newkey] = $arr[$oldkey];
unset($arr[$oldkey]);
Recent Posts
Showing posts with label associative. Show all posts
Showing posts with label associative. Show all posts
PHP: How to change the key of an Associative Array element
Subscribe to:
Posts (Atom)