mysql - Can triggers call PHP Scripts? -


i have written trigger, mysql doesn't it:

code :

create trigger triggers_on_comand_line after update on test1  each row  begin  if total_volume >= used_volume \! echo "php -f /home/test.php"  end;  

i got error :

** mysql said: documentation 1064 - 064 - have error in sql syntax; check manual corresponds mysql server version right syntax use near '! echo "php -f /home/test.php" @ line 6 **

thanks

yes, can call php scripts if install mysql_udf_sys


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -