I am thinking of implementing a real time event listener for a personal project. Is there are way that say, if an INSERT
, UPDATE
, and DELETE
SQL queries have been issued, then mySQL will trigger a PHP file which will in turn process this, like refreshing a page automatically if a new record is found, or say a record has been edited or deleted?
I have been reading through mySQL triggers but I do not know how to implement. Thanks!