Posted by Daz on 10/24/06 19:33
Rik wrote:
> Create an array of what to add, capture all existing items in another array
> , then it's a simple question of array_diff() for items that are invalid.
>
> Then create an array of already owned items, array_intersect() will tell
> you what to update, the rest will have to be added.
I had no idea that such a function existed. This is yet another item
added to my list of 'things to do'.
Your help is very much appreciated.
Daz.
[Back to original message]
|