Welcome Guest, Not a member yet? Register   Sign In
Merge Arrays
#2

[eluser]drewbee[/eluser]
Check out array_unique. array_unique will keep the first matched element and remove the others. So if you want your array to override the other array, during the merge you will want to add your data first, then the api database data second.

I have never used it to compare arrays before, so lets hope it works Smile


Messages In This Thread
Merge Arrays - by El Forum - 03-24-2009, 02:45 PM
Merge Arrays - by El Forum - 03-24-2009, 03:19 PM
Merge Arrays - by El Forum - 03-24-2009, 04:57 PM
Merge Arrays - by El Forum - 03-24-2009, 05:37 PM
Merge Arrays - by El Forum - 03-24-2009, 05:59 PM
Merge Arrays - by El Forum - 03-24-2009, 07:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB