Welcome Guest, Not a member yet? Register   Sign In
Pb when inserting in DB
#4

[eluser]rogierb[/eluser]
Code:
$this->db->insert('activities');

What are you inserting?
I would have expected something like
Code:
$this->db->insert('activities', $insert_array);

If you don't provide the $insert_array CI uses $this->ar_set and I have no idea how this would get filled without setting the array or using the $this->db->set() method.


Messages In This Thread
Pb when inserting in DB - by El Forum - 02-17-2010, 11:19 AM
Pb when inserting in DB - by El Forum - 02-17-2010, 11:50 AM
Pb when inserting in DB - by El Forum - 02-18-2010, 03:12 AM
Pb when inserting in DB - by El Forum - 02-19-2010, 03:10 AM
Pb when inserting in DB - by El Forum - 02-19-2010, 08:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB