Php - Function array unique, Remove duplicate values in a array

Function array unique

The below script helps you to remove duplicate values in a array

echo "Script to remove duplicate values";
print_r(array_unique($remove_duplicate)); // array_unique!

Array ( [0] => calc [1] => math [2] => calc )

Script to remove duplicate values
Array ( [0] => calc [1] => math ) 
In the above script the calc word which was repeated twice is removed by using the function array_unique

The topic on Php - Function array unique is posted by - Math

Hope you have enjoyed, Php - Function array uniqueThanks for your time

Tech Bluff