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 Quote 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. Quote 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. Quote 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.... Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.