M0n5terBunny Posted November 18, 2011 Share Posted November 18, 2011 Hi all, i was wondering how to make a box popup when a new message has appeared in my table i know its javascript for the box but im not sure on how to make popup when theres a new message, any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/251370-popup-box-for-mysql-query/ Share on other sites More sharing options...
phporcaffeine Posted November 18, 2011 Share Posted November 18, 2011 Wrong forum but, window.open(), alert() .... ? Quote Link to comment https://forums.phpfreaks.com/topic/251370-popup-box-for-mysql-query/#findComment-1289263 Share on other sites More sharing options...
Spring Posted November 23, 2011 Share Posted November 23, 2011 It would be an ajax call. You'd have javascript talk to a php file which would check that specific table to see if it's been updated. Afterwards, you'd display a message saying that it has been updated, or display the information that was inserted/updated with ajax. http://api.jquery.com/jQuery.ajax/ Quote Link to comment https://forums.phpfreaks.com/topic/251370-popup-box-for-mysql-query/#findComment-1290687 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.