Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 2nd, 2003, 07:49 PM
nickcwj nickcwj is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 27 nickcwj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to nickcwj
Question SQL Updates & Email Notifications

Greetings everyone,

I have a mysql database with several tables. Whenever any updates are made in any of the tables, I want it to:

1) automatically send an email notification with a fixed format to a specific group of users.

OR

2) (manually) ... if the user presses a button on the php page, it will check to see if any new updates have been made to the database/tables since the last update, and then send an email notification with a fixed format to a specific group of users.

** Users can manually add or delete the users in the mailing list.

Can somebody provide me with sample sql and php codes to get everything working?.... i'm relatively new to php, so i would appreciate if anyone can show me step-by-step from the ground up... thank you so much.

PS - Since i'm using PHP/PEAR:DB, i am using generic sql statements instead of proprietary mysql syntax. I've already declared the db connection string using PEAR:DB ... just need the codes for the problem statement above... and no mysql syntax please, just generic sql + PEAR:DB syntax... thnx again.

Regards,
Nick

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > SQL Updates & Email Notifications


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway