Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

convert array to associative array php

<?php
$a = array("foo", "bar");
$aa = array_flip($a);
print_r($aa);
?>
Source by infoheap.com #
 
PREVIOUS NEXT
Tagged: #convert #array #associative #array #php
ADD COMMENT
Topic
Name
7+4 =