update multiple fields in MySQL
| From: | Nick | Date: | Thu, 13 Jul 2000 14:07:46 +0000 |
| Subject: | update multiple fields in MySQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1112@lists.php.net to get a copy of this message | ||
hi,
short but sweet.....
how do you update multiple fields at the same time using MySQL ?
as in $query= "update table set name= '$name' AND ID= '$ID' where date=
'$date'";
this of course doesn't work....
any ideas ?
-nick