MySQL Forums
Forum List  »  PHP

Re: Trouble Updating Table with Multiple Rows with Different Values
Posted by: Peter Brawley
Date: October 20, 2015 01:51PM

> implement this trigger into my php site

You implement it not in your site but in the database, that's the point--- as a database object, it fires whenever the product table is updated---by anybody anywhere.

So you execute your Create Trigger command once on the database, in whatever tool you use to administer that database. If it's on the web, the tool may be phpMyAdmin. If it's on a local computer (you should always maintain a copy of all your remote databases on a local computer), then it may be the MySQL client program or MySQL WorkBench.

Options: ReplyQuote


Subject
Written By
Posted
Re: Trouble Updating Table with Multiple Rows with Different Values
October 20, 2015 01:51PM


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.