max
| From: | Stacy Hunter | Date: | Thu, 09 Nov 2000 16:05:27 +0000 |
| Subject: | max | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4336@lists.php.net to get a copy of this message | ||
Any ideas why the max(Id) aspect of this doesn't work?
mysql_db_query("snx_db1","update Nominations set Comment='$message' where
Id=max(Id)");
how do I use update where max in one statement?
Thanks.
- Stacy