mysql update query

From: Date: Wed, 05 Dec 2001 03:27:20 +0000
Subject: mysql update query
Groups: php.general 
Request: Send a blank email to php-general+get-76638@lists.php.net to get a copy of this message
I'm having trouble getting an update query to work Here is what I'm doing $result = mysql_query("update table set value1='$value1', value2='$value2' where id='$id'"); It is not updating the database. All the $vars have values and I'm using the correct columns names. Could someone please point me in the correct direction because I have been trying different things for a while but can't seem to get it to work. Greg

« previous php.general (#76638) next »