[eluser]LuckyFella73[/eluser]
Your active record code should look like this:
Code:
$this->db->set('amount', 'amount+1',FALSE);
$this->db->where('id', 1); // '1' test value here ?
$this->db->update('market');
I use this code (changed for your needs) to update
position columns in my tables and it works for me.
EDIT: don't know if you can do this with negative values
(positions are usually in the positive range ..)
EDIT: I did set up a test-table and checked that - now
I know it is possible with negative Values too