darkcarnival Posted July 29, 2007 Share Posted July 29, 2007 hi, for a script of mine i have language values in an array. the issue is I found that some things are the same as the other array values. now i have alot of of values in these arrays so going through every one is very tedious. so question is, is there a way to create a loop to check the array values? much thanks in advance. Link to comment https://forums.phpfreaks.com/topic/62341-finding-double-array-values/ Share on other sites More sharing options...
Barand Posted July 29, 2007 Share Posted July 29, 2007 http://www.php.net/array_count_values will find them http://www.php.net/array_unique will clear them Link to comment https://forums.phpfreaks.com/topic/62341-finding-double-array-values/#findComment-310228 Share on other sites More sharing options...
darkcarnival Posted July 29, 2007 Author Share Posted July 29, 2007 sweet! thanks a bunch Barand, this will save me a lot of time Link to comment https://forums.phpfreaks.com/topic/62341-finding-double-array-values/#findComment-310231 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.