UPDATE mysql

From: Date: Sat, 22 Jun 2002 18:44:45 +0000
Subject: UPDATE mysql
Groups: php.general 
Request: Send a blank email to php-general+get-103412@lists.php.net to get a copy of this message
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?

« previous php.general (#103412) next »