Re: [PHP-GENERAL] notify-me-function filtered by mysql-based search-profile

[email protected] (Jan Dvorak)
Newsgroups php.general
Organization MathAn Praha, Ltd.
Message-ID <[email protected]>
Hi,

helmut ott wrote:
>
> Though I would like to set up a feature best described as a 
> "notify-me-function sending only matches passing an mysql-based search-profile
> whenever a new record is entered into the database"

I'm afraid there won't be any automagic notifications.
In your script you'll have to query the database
for search-profile matches with every newly added record/records.
This can be done either at the end of each new record insertion,
or in a batch job on a regular basis (in the night, at the weekend,
...).

> Helmut

I hope this helps.  Or perhaps you've already thought this much.

Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.