$arlocagoe = array(“this is base”,”35″,”coll”,”price”);

echo $getuniqloc = rtrim(implode(‘,’, array_unique($arlocagoe)), ‘,’);

Result:- this is base, 35 , coll, price

Please login or Register to submit your answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.