Merhabalar,

Aşağıdaki kütüphane ile foreach döngüsü içine alıp update atabilirsin:
https://github.com/ThingEngineer/PHP...s#update-query