Incrementing a column value in CI |
[eluser]umefarooq[/eluser]
you have to set it false right now you columen value is going as string to make it integer you have to do this Code: $this->db->set('createdForms', 'createdForms+1',FALSE); check user guide also http://ellislab.com/codeigniter/user-gui...ecord.html |
Messages In This Thread |
Incrementing a column value in CI - by El Forum - 10-10-2010, 04:56 AM
Incrementing a column value in CI - by El Forum - 10-10-2010, 05:07 AM
Incrementing a column value in CI - by El Forum - 10-10-2010, 05:21 AM
|