MakeItSimple
Toggle
Home
C language
FAQs
Programs
Python
FAQs
Programs
HTML
Programs
FAQs
CSS
Javascript
FAQs
Programs
PHP
FAQs
Programs
JQuery
FAQs
Programs
AJAX
Bootstrap 3
Website
Programs in PHP
13. Program to remove the duplicate values from an array.
<?php $arr = array(10,20,10,30,20,10); print_r(array_unique($arr)); ?>
Output :
Array ( [0] => 10 [1] => 20 [3] => 30 )