I have this mysql columns:
points_on | points_off
0 1.36
And this SQL command:
UPDATE table SET points_off = points_off-{$cash}, points_on = points_on+{$cash} WHERE ...
$cash = "1.36"
If I run this, the table update wrong like this:
points_on | points_off
1.36 0.0000000143051
How to update this correctly?
I need to move $cash number from points_off to points_on.