How to minus number in DB |
01-08-2017, 05:11 AM
(This post was last modified: 01-08-2017, 09:39 AM by falcon812311. Edit Reason: change minus to subtraction, to easy understand ) PHP Code: function minus_set($id) thanks
This is me. JK not me.
(01-08-2017, 05:11 AM)falcon812311 Wrote: PHP Code: $this->db->set('total_set', 'total_set - 1',FALSE);
(01-08-2017, 10:18 PM)Paradinight Wrote:(01-08-2017, 05:11 AM)falcon812311 Wrote: Thanks!
This is me. JK not me.
|
Welcome Guest, Not a member yet? Register Sign In |