how to create triggers in sql using wamp server code example
Example: Create Trigger in phpMyAdmin
CREATE TRIGGER after_update
AFTER UPDATE ON hodm
FOR EACH ROW
INSERT INTO hodm_log
SET log_action = 'update',
user_name = NEW.user_name,
log_timestamp = NOW();