Can someone lead me down the right way to make a live notifications
e.g Knowing when a new Row in Added in Mysql
know if a php file has changed ???
how s
You can use db triggers to watch for changes in certain tables and insert notification data into a new table. Then. query that db table periodically with Jquery and ajax.
Workflow:
users
for inserts, updates, and deletedusers
is altered, the trigger inserts a new record into notifications
detailing what was changednotifications
table for new records and display them to the user.This simple workflow might not be as easy to implement as you would hope but it would get the job done in an efficient manner.