Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Create Trigger in phpMyAdmin

delimiter $$
CREATE TRIGGER copy_pid AFTER INSERT on upload FOR EACH ROW 

BEGIN

INSERT INTO rating (uid,pid) VALUES (NEW.username,NEW.id);

END$$
delimiter ;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Create #Trigger #phpMyAdmin
ADD COMMENT
Topic
Name
1+9 =