leachus2002 Posted November 26, 2010 Share Posted November 26, 2010 Hi All, I was wondering if there is any way that a PHP page can update itself when a row in a DB is added or updated? I am trying to get a feed up and running and want it to update when a row is updated/inserted. Thanks Matt Link to comment https://forums.phpfreaks.com/topic/219913-refresh-php-page-on-db-entry/ Share on other sites More sharing options...
intellix Posted November 26, 2010 Share Posted November 26, 2010 I don't think its possible to get a browser to refresh precisely when a row is added/updated but the way you're going to have to do it (unless anyone knows of anything else?) is to have an AJAX page being called every so often to check if there are any updates and then do what you want when anything changes... A good example is help.com - Get Firefox, Firebug and turn on the console... if you look at that you can see they do alot of AJAX calls all the time to check for updates Link to comment https://forums.phpfreaks.com/topic/219913-refresh-php-page-on-db-entry/#findComment-1139986 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.