Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Create Trigger in phpMyAdmin

CREATE TRIGGER testTrigger 
BEFORE INSERT ON tbl_table1 
FOR EACH ROW 
BEGIN 
    INSERT INTO tbl_table2 (id,name) values (NEW.id,NEW.name); 
END
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Create #Trigger #phpMyAdmin
ADD COMMENT
Topic
Name
6+4 =