• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
strange model behaviour

#4
[eluser]BrianDHall[/eluser]
Code:
function createcomment($data)
{
$this->db->set($data);
return $this->db->insert('comments');
}

Not sure why you call insert twice, so try changing as above.


Messages In This Thread
strange model behaviour - by El Forum - 10-11-2009, 01:57 PM
strange model behaviour - by El Forum - 10-11-2009, 02:07 PM
strange model behaviour - by El Forum - 10-11-2009, 02:55 PM
strange model behaviour - by El Forum - 10-11-2009, 03:45 PM
strange model behaviour - by El Forum - 10-11-2009, 04:00 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.