Insert and Update database checking |
(12-27-2015, 01:27 AM)pmbaldha Wrote:(12-26-2015, 12:14 PM)pb.sajjad Wrote: Hello... Thanks for replying... Your're right, and I know about $this->db->affected_rows(); . I've already read codeigniter different environment. So, as your explanation, if I test everything in development environment and everything will be correct, there is no need to check insert/update result. Is this true? Is it possible that everything is correct in development environment, but in live server and in production environment, an error will be occured (MySQL do not operate correctly) ? For example, after user registering, user info does not insert, or after editing info, update row encounter with errors (assume that I validate all info and...). Or about transactions or... |
Messages In This Thread |
Insert and Update database checking - by pb.sajjad - 12-26-2015, 12:14 PM
RE: Insert and Update database checking - by RobertSF - 12-26-2015, 04:07 PM
RE: Insert and Update database checking - by skunkbad - 12-26-2015, 04:28 PM
RE: Insert and Update database checking - by pmbaldha - 12-27-2015, 01:27 AM
RE: Insert and Update database checking - by pb.sajjad - 12-27-2015, 04:37 AM
RE: Insert and Update database checking - by pmbaldha - 12-27-2015, 05:20 AM
RE: Insert and Update database checking - by pb.sajjad - 12-27-2015, 10:09 AM
RE: Insert and Update database checking - by pmbaldha - 12-27-2015, 08:58 PM
RE: Insert and Update database checking - by pb.sajjad - 12-28-2015, 03:33 AM
RE: Insert and Update database checking - by Diederik - 12-28-2015, 01:13 AM
|