Is there a listener or php / javascript / mysql / ajax method that can call a function every time the data in the MySQL table is changed - for example, when a new row is added or the row is changed / deleted.
Or I look at it from the wrong point of view, I'm still learning AJAX.
Just looking to be directed in the right direction, I could not find anything. Thanks.
Edit Basically, when a user sits on my site, if new data is added to the database on the server from another source (not due to the action of this user), I want to be able to call a function to asynchronously load this new data for this user.
source share