"how to determine if a mysql update query succeeded when the data passed in the query is the same as what is already in the database?" Code Answer

1

just check if no errors occurred after execution of query.
if you use mysql, check mysql_error():
if (!mysql_error()) print 'all is fine';
same for mysqli.

By kapoko on April 3 2022

Answers related to “how to determine if a mysql update query succeeded when the data passed in the query is the same as what is already in the database?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.