MySQL Forums
Forum List  »  PHP

Multiple Queries in one mysql_query();
Posted by: Paul Chen
Date: January 22, 2006 10:08PM

Hi, I have an assignment
It's asking me to write a query that does two UPDATE's (two different tables) in the same query. Is it possible? Is there an operator that can connect two operations together?

"Update a WHERE id=x OPERATORHERE Update b Where id=y"

Is this possible?

Paul.

Options: ReplyQuote


Subject
Written By
Posted
Multiple Queries in one mysql_query();
January 22, 2006 10:08PM


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.