Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Updates all records instead of just one record
#1

Hello, I have a small application that a small cooperative society use for managing their contribution. But once in a while, if I want to update a user with let us say 10USD, it will end up updating all the user records in the database with 10USD instead of updating only the selected user. This Issue does not happen always, it only happens once in a while, NOW WHAT COULD BE THE PROBLEM? I would appreciate your help.

Attached Files Thumbnail(s)
   
Reply
#2

Hard to say without having seen any of your code. Please share the method in your controller or model that is responsible for updating the user's record.
Reply
#3

I hope those people (and their details) listed on the image you've attached aren't real.
Reply
#4

(01-20-2016, 03:07 PM)Narf Wrote: I hope those people (and their details) listed on the image you've attached aren't real.

I'd bet it's real info... LOL.

Anyway, try posting your code here so we can help. We're developers, not magicians.
Best regards,
José Postiga
Senior Backend Developer
Reply




Theme © iAndrew 2016 - Forum software by © MyBB