SCook Posted September 10, 2009 Share Posted September 10, 2009 Hello, I need a quick tip. When I use array_unique() to remove duplicate values, it does not re-index. Is there a way to do this, or an addional function? Thanks. Link to comment https://forums.phpfreaks.com/topic/173816-array_unique-help/ Share on other sites More sharing options...
Mark Baker Posted September 10, 2009 Share Posted September 10, 2009 $reindexed = array_merge(array_unique($original)); Link to comment https://forums.phpfreaks.com/topic/173816-array_unique-help/#findComment-916195 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.