i use this script in mysql triger after insert on tbl_produk
FOR EACH ROW BEGIN
DECLARE cmd CHAR(255);
DECLARE result INT(100);
SET cmd=CONCAT('/usr/bin/php ', 'http://localhost/triger/add_post.php?produk=', NEW.produk, '&jumlah=', NEW.jumlah);
SET result = sys_exec(cmd);
END;
reference from https://dba.stackexchange.com/questions/39598/update-sql-server-from-mysql
but not runing, i hope an solution for this