|
Hi kreoton,
What Happen is..
For Example:
if: hotel_cost='20' And: $Old_Total='10' And: $New_Total='4'
The new DB result should be = 14 ($update_cost1 to cut the 10) AND ($update_cost2 to add the 4).
here in my code it comes = 24, So the 10 still not go.. thats mean $update_cost1 not worked.. to cut that old result.
you can try the code in simple page ...
Last edited by ISSC; 11-03-2006 at 03:25 AM..
|