When the user opens the form to change the record, but instead of changing the information, he simply clicks the Refresh button. This causes the update () function to return 0. However, I consider this case a valid update task. How can I check it so that I can assign a successful message?
Is update () return -1 if the SQL query fails or is it also 0?
Method: Zend_Db_Table_Abstract :: update ()
Any ideas?
thank
source
share