Does anyone know of a simple PHP code that can be added to a web page which will inform the user that new data from a mysql database has been added to their user area?
For this you need to make an ajax call to the php page which will check from database if there are new records while checking with previous one it will return new record or else return 0.
check $.ajax
in jQuery
, setTimeout
js
method and you need .php
page for dynamic data manipulation!