gnawz Posted April 30, 2008 Share Posted April 30, 2008 Dear experts I need help on how to notify users in a website when some one else logs in or when a record has gone into the database. Something like a pop-up or sound beep can someone help? Link to comment https://forums.phpfreaks.com/topic/103537-nmotifying-users-when-a-record-hits-a-mysql-databse/ Share on other sites More sharing options...
willpower Posted April 30, 2008 Share Posted April 30, 2008 To the very best of my knowledge this is not possible as PHP is a server side script. You could have the script send an email tho. To have a pop up appear etc would involve a client side script but i cant think of any way to do what you requested Link to comment https://forums.phpfreaks.com/topic/103537-nmotifying-users-when-a-record-hits-a-mysql-databse/#findComment-530162 Share on other sites More sharing options...
Rohan Shenoy Posted April 30, 2008 Share Posted April 30, 2008 You can use an AJAX script that checks the database periodically, lets say at interval of 3 mins. Depending upon the response, you can display an alert message(in javascript) Link to comment https://forums.phpfreaks.com/topic/103537-nmotifying-users-when-a-record-hits-a-mysql-databse/#findComment-530168 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.