I'm running MySQL V4, and whenever a row is updated or inserted into a table, I would like to be able to do various checks and calculations, and then based on that, certain row manipulation for other entries. Triggers and stored procedures would be ideal, but I believe they're only around at V5 (client doesn't want to upgrade right now). Has anyone any ideas (I'm very new to MySQL but have plenty of DBA experience)?
Thanks in advance