php-code aus trigger ausführen
Hi *,
In unserem Projekt setzen wir auf Mysql und php und jetzt muss ich
innerhalb von einem Trigger einen Php-Code ausführen.
Der Trigger schaut ziemlich simpel aus :
DELIMITER $$
DROP TRIGGER /*!50032 IF EXISTS */ `test_notify`.`test`$$
create trigger `test_notify`.`test`
AFTER UPDATE on `test_table`.`videos`
for each row BEGIN
IF new.stueckzahl > new.ausgeliehen THEN
/*
hier sollte der Php-Code stehen*/
END IF;
END;
$$
DELIMITER ;
Weiß einer von euch ob sowas überhaupt möglich ist bzw. hat wer damit Erfahrungen gemacht?
wäre für jeden Rat sehr dankbar
Danke im Voraus
lg
mobivid
Edited 1 time(s). Last edit at 12/14/2007 06:19PM by mobivid mobivid.
Subject
Views
Written By
Posted
php-code aus trigger ausführen
4320
December 14, 2007 06:18PM
2324
December 19, 2007 01:50AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.