SQL trigger when a row is updated question My problem is as follows.

I an creating a MySQL database for a company that whenever a row is updated on the DB i want to have a trigger that calls a cURL request to transfer the updated information to our clients.

Is doing this the best way to do this? or is it better to do this in the php script that transfers the data to us?

Thank you for your time and experience.
first create one temp table , and create records whenever your updating row. for example if you are updating one row with id=24, save this id as refference id into temp table.then using Php  if temp table contains any records call curl request and delete temp records once curl request is completed. by using cron jobs run this php scripts repeatedly