SunQuest
           MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

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:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old August 6th, 2000, 08:53 AM
EdwinB EdwinB is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Den Haag, ZH, Netherlands
Posts: 1 EdwinB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,

I am pritty new to mysql but I was wondering how to go about on a question I have.

If a registered member performs a search I want to be able to store that search and on updates if there is a new matching record to mail him/her automaticaly.
What is the best way to do this?

Edwin

Reply With Quote
  #2  
Old August 7th, 2000, 09:31 PM
supine supine is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 35 supine User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
if your "users" table has a "user_id" create a table that stores the "query" and user_id".

then when you run a script to mail updates loop thru the "users" and select the queries using the "user_id", then loop thru the queries and include them in the output to the mail handle.

you might want to make storage of the queries conditional, ie. let the user select whether they wish to receive all this info in their update email...

HTH
marty

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Mailing new matches for search on a update


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