[eluser]stef25[/eluser]
In my models I always return $this->db->affected_rows() to make sure something was inserted, update or deleted.
Problem is that in my small custom CMS, a blog article is opened for editing and the user submits the form without making any modifications (pointless but can still be done), this RETURN gives FALSE, the same response as if there was an error. And I can
Is there a way to RETURN a value from a query that shows a TRUE response if no changes were made but there was no error?