MySQL Forums
Forum List  »  PHP

Re: Trouble Updating Table with Multiple Rows with Different Values
Posted by: Peter Brawley
Date: October 19, 2015 11:07AM

Read again. I did not suggest putting PHP code in a MySQL Trigger.

The suggestion is that a MySQL Trigger is a much simpler and more efficient solution to the problem of propagating product price changes to orders. Read about Triggers.

You also need to read about the MySQL PHP functions you are using, but unless you can find a strong reason not to use a Trigger to update proces from products to orders, I'll leave that for now.

Options: ReplyQuote


Subject
Written By
Posted
Re: Trouble Updating Table with Multiple Rows with Different Values
October 19, 2015 11:07AM


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.