[thelist] Call PHP file on table event?

Brady Mitchell mydarb at gmail.com
Thu May 15 10:29:00 CDT 2008


On May 15, 2008, at 628AM, Dave Stevens wrote:
> What I was wondering was whether it was possible to cut a few  
> processes
> out of this loop and have the script run when there is an INSERT in to
> the table?

Have you looked at triggers? Using a trigger you can have an action  
take place either before or after an insert, and at other times as  
well. Take a look at the manual - http://dev.mysql.com/doc/refman/5.0/en/triggers.html 
.

Brady



More information about the thelist mailing list