Re: UPDATE mysql

From: Date: Sat, 22 Jun 2002 18:55:36 +0000
Subject: Re: UPDATE mysql
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103413@lists.php.net to get a copy of this message
Phil Schwarzmann wrote:
I can't get UPDATE to work properly when querying MySQL. $query = "UPDATE $table SET field1='$var1' WHERE id='$id'"; I want to update one field of one row in a table. Is this syntax correct?
yes

« previous php.general (#103413) next »