asmith Posted December 4, 2007 Share Posted December 4, 2007 can i delete array repeated values ? $a = array ( "a","a","b","b") ==> $b = array( "a","b") ? Link to comment https://forums.phpfreaks.com/topic/80098-solved-array-repeated-values/ Share on other sites More sharing options...
rajivgonsalves Posted December 4, 2007 Share Posted December 4, 2007 Yes $b = array_unique($a); Link to comment https://forums.phpfreaks.com/topic/80098-solved-array-repeated-values/#findComment-405927 Share on other sites More sharing options...
asmith Posted December 4, 2007 Author Share Posted December 4, 2007 got it ! you've helped me here so many times ! don't know how to thank you ! Link to comment https://forums.phpfreaks.com/topic/80098-solved-array-repeated-values/#findComment-405930 Share on other sites More sharing options...
rajivgonsalves Posted December 4, 2007 Share Posted December 4, 2007 Glad to be of help Link to comment https://forums.phpfreaks.com/topic/80098-solved-array-repeated-values/#findComment-405932 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.