I want to clear same values in array.
For example so be my array:
array(0=>"1",1=>"1",2=>"3",3=>"1",4=>"6");
I want ot get as:
array(0=>"1",1=>"3",2=>"6");
How?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
array_unique
array_values with array_unique