Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

array unique php

<?php
$input = array("a" => "green", "red", "b" => "green", "blue", "red");
$result = array_unique($input);
print_r($result);
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #array #unique #php
ADD COMMENT
Topic
Name
4+3 =