MySQL Forums
Forum List  »  PHP

Re: The Update Syntax
Posted by: Peter Brawley
Date: April 05, 2006 09:39AM

Good thing it didn't work :-). Without the syntax error (quotes around 'yes' are missing), it would have updated every row in the table.

Have a look at update syntax at http://dev.mysql.com/doc/refman/5.1/en/update.html.

Then have a look at the PHP manual. You need to process the result returned by mysql_query().

PB

Options: ReplyQuote


Subject
Written By
Posted
April 05, 2006 09:15AM
Re: The Update Syntax
April 05, 2006 09:39AM
April 06, 2006 02:10AM


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.