Se fai un UPDATE, puoi verificare con mysql_affected_rows che ci siano righe che sono state modificate?