hey..
hmm ok as the title says.. ive searched on the net for any code on this.
i know i need to use a forloop but im unsure how, i never liked loops lol.
i have a val you lets call $val1 and another $val2 and $val3
and i need to do some kinda lop so that it keeps subtracting.. hmm lets say 50 from val1 untill it is equal to or less than $val2and once it is it gives you the final result as $val3.
any ideas?
thanks
P