title: Automatic E-Mail to Admin when Database is Updated
body: <p>Is there a way I can configure automatic e-mails to be sent when new data is added to a MySQL database. Preferably in PHP.</p>
  
  <p>The idea is that when new information is submitted to the DB an e-mail is automatically generated containing the new information with a link to view the information online and sent to a pre-configured e-mail address.</p>
  
  <p>The purpose of this is for a leave booking system. Colleagues will be able to submit dates and times of leave and the team manager is automatically informed as and when they are added or changed.</p>
  
  <p>I have tried using Word Press but it is far too clunky and a lot more powerful than I need. I have also noted another couple of questions here on Stack Flow but they have no responses or answers and not strictly the same question.</p>
  
  <p>Any help would be greatly appreciated.</p>