mysql_error() will contain error text if "it didn't work"

Henry wrote:

>Hi All,
>
>mysql_affected_rows() returns zero if you update without changing the data
>in a database record. How do you tell the difference betwix "it worked but
>nothing changed" as opposed to "it didn't work"?
>
>TIA
>
>Henry
>
>
>
>  
>


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

Reply via email to