yep, les is right.
change:
code:
If ($result1 < $sub1)

to:
code:
If ($sub1 > $result1)

uhm, while tried to post these lines without code-tags, board was yelling about html-tags!
wtf [Mad] [Eek!] [Mad]
_________________________
!

download KiXnet