SyntaxFix
Write A Post
Hire A Developer
Questions
I think that he want:
$a = array(1=>'first_name', 2=>'last_name'); $a = array_flip($a); $a['first_name'] = 3; $a = array_flip($a); print_r($a);