sttr Posted February 18, 2009 Share Posted February 18, 2009 I have a array of 50 avaliable objects, and another array of 10 used objects. I want to list all objects not used. result = ARRAY1 - ARRAY2 Thank you for your help Link to comment https://forums.phpfreaks.com/topic/145748-remove-all-occurences-of-array1-in-array2/ Share on other sites More sharing options...
farkewie Posted February 18, 2009 Share Posted February 18, 2009 Hi, If you are looking for someone to do your work for you, you should look at posting in the freelancers forum where people can quote a price. Otherwise if you would like help to learn start by using google and trying some code, then post errors and your code and we will assist in teaching you. Link to comment https://forums.phpfreaks.com/topic/145748-remove-all-occurences-of-array1-in-array2/#findComment-765210 Share on other sites More sharing options...
premiso Posted February 18, 2009 Share Posted February 18, 2009 array_diff may be what you are looking for. Link to comment https://forums.phpfreaks.com/topic/145748-remove-all-occurences-of-array1-in-array2/#findComment-765232 Share on other sites More sharing options...
allworknoplay Posted February 18, 2009 Share Posted February 18, 2009 Hi, If you are looking for someone to do your work for you, you should look at posting in the freelancers forum where people can quote a price. Otherwise if you would like help to learn start by using google and trying some code, then post errors and your code and we will assist in teaching you. LOL... Agreed.... Link to comment https://forums.phpfreaks.com/topic/145748-remove-all-occurences-of-array1-in-array2/#findComment-765261 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.