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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.