Welcome Guest, Not a member yet? Register   Sign In
Backticks option for $this->db->insert() with array() format?

1) You don't need to return anything unless the code that calls the function is expecting a returned value. In your case, you don't need to return anything.

2) That's how I would handle it. CI's active record is designed to reset after queries are called. If you don't want certain properties to be reset, you'll have to modify the code, and you'll also have to remember to reset the queries on your own where necessary.

Messages In This Thread
Backticks option for $this->db->insert() with array() format? - by El Forum - 03-06-2012, 03:48 PM

Theme © iAndrew 2016 - Forum software by © MyBB