Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php flip array

<?php
$input = array("oranges", "apples", "pears");
$flipped = array_flip($input);

print_r($flipped);
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #flip #array
ADD COMMENT
Topic
Name
7+2 =