Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

change key with the value php

$arr[$newkey] = $arr[$oldkey];
unset($arr[$oldkey]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #key #php
ADD COMMENT
Topic
Name
2+7 =