I just this error when Im updating database and I dont change any of the values in the form and submit. I would like to know why and suggestion to correct this error.
sample
SELECT * FROM `table` WHERE `id` = 1
id = 1,
name = John,
city = New York;
UPDATE `table` SET name = 'John', city = 'New York' WHERE id = 1
when updating the database with the same values what you select from database and use affected rows i get 0
As the manual states:
Therefore, because your
UPDATEdoes not actually change any rows, the default affected-rows value is 0.