title: Executing a php script on database trigger
body: <p>How do I execute a php script on an update in mysql data for the updated columns only.
  For example if there is a new entry in a table , I want to execute a php script only on the new entry in the table. So, if a person enters his name and age in the table, an email gets sent using php containing his name and age.</p>
  
  <p>I can create such a php script which takes arguments from command line, I just don't know how to make it execute it on an update/insert trigger.</p>