troy
|
| Posted: 06/16/2005, 12:45 AM |
|
hi there
i am using CCS.PHP.MYSQL
what i want to do is:
Run a search based on dates in the database and the search brings up a grid with the search results and then have a button ,so when i click on it it sends a email to all the people which dates that match the results..
the site is based on a reminder to uses when there eg: licences have expirered.
is this possible to do in CSS, or am i just fooling myself.
and if possible does anyone no of a sample or tut, that could gide me..
thank you...
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 06/16/2005, 2:03 AM |
|
Troy,
You can send email automatically when grid form is loading. Add Send Email action to Before Show Row event. To send mail only when search is made you can hide Grid form if no search parameters were selected. Or add "if" statement before send email code and check search parameters passed from the search form. If the params values are not empty then send email.
_________________
Regards,
Nicole |
 |
 |
|