|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Mailing new matches for search on a update |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|