Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have two systems. one is for the admin and the other one is for the staff. what im going to do is if the staff system add, delete or update information into the database, the admin system will get a popup notification when the staff add, delete or update. Any suggestion?

What I have tried:

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Posted
Updated 30-Nov-20 10:42am
v2
Comments
[no name] 30-Nov-20 12:04pm    
Send emails with a consistent identification. "Popups" imply what? Phones? Sitting at their desk?
The Other John Ingram 30-Nov-20 12:17pm    
i agree emails will give you a history of what happened by who.
a popup is temporary and when its gone you will have no history.
email can be collected and made into a report (management likes this sort of stuff)
Member 15007843 30-Nov-20 23:25pm    
im using phpmyadmin

If you use SQL Server (not Express version), take a look at: CDC - Change Data Capture[^]

You can also use SQL Server (not Express version) to send email notifications:
How to setup SQL Server alerts and email operator notifications[^]

If you only have SQL Server Express, you might use Change Tracking,
see: Change Tracking Example -SQL Server[^]
 
Share this answer
 
v2
Comments
Maciej Los 30-Nov-20 16:42pm    
5ed!
Member 15007843 30-Nov-20 23:26pm    
im using phpmyadmin.
RickZeeland 1-Dec-20 1:29am    
Sadly MySQL does not seem to support notifications, but maybe you can use this:
https://github.com/Cyclonecode/mysql-notification
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900