Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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();
Source by stackoverrun.com #
 
PREVIOUS NEXT
Tagged: #Create #Trigger #phpMyAdmin
ADD COMMENT
Topic
Name
4+5 =