MySQL Forums
Forum List  »  Triggers

Re: Creating a trigger via PHP program
Posted by: Mario Restrepo
Date: April 02, 2008 08:53AM

i found out that it's not necessary to use "delimiter" when a simple sql statement is executed. I'm using adodb libraries in php to access mysql, i.e. i dont know wich php function is executed in order to exec each sql statement. i also found out that multi_query (mysqli) is used with "delimiter" statement when u need to execute more than one statement. Thus, my solution was to build a set of simple sql statements and to execute 'em in a adodb transaction.

Options: ReplyQuote


Subject
Views
Written By
Posted
8573
July 13, 2006 05:58AM
16945
July 13, 2006 06:51AM
Re: Creating a trigger via PHP program
6001
April 02, 2008 08:53AM


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.