If your table has a primary key, or auto increment field works well and is
quick.

> What is the best way to only do an update if it going to update only one
> row?
> I want to protect my code so that it won't accidentally update more than
> one row.
> I can do a select first but there must be an easier way. :-)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to