Re: Re: Again Select then update

From: Date: Mon, 25 Mar 2002 04:36:15 +0000
Subject: Re: Re: Again Select then update
Groups: php.db 
Request: Send a blank email to php-db+get-17876@lists.php.net to get a copy of this message
In your UPDATE query, should you have a WHERE clause? eg. UPDATE my_items SET name = '$update' WHERE ID = $ID OR do this $update = $name; instead of $update = "$name"; Try running the query on the command line (on *nix) or through phpmyAdmin or something to see if the query is actually working. Adam

« previous php.db (#17876) next »