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? 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() .... ? Link to comment https://forums.phpfreaks.com/topic/251370-popup-box-for-mysql-query/#findComment-1289263 Share on other sites More sharing options...
Guest 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/ 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
Archived
This topic is now archived and is closed to further replies.