Hi I have this code:
$rate = $db2->Record['rate'] $length = $db2->Record['c52']; $q = ($length*rate);
now no matter what I do I get $q=0 although $rate=49 and $length=10
Any ideas?
$q = ($length*[color=red][b]$[/b][/color]rate);
PS: Turning on all error reporting probably would at least have had you looking at that line, as most likely a notice would have been displayed that 'rate' was an undefined constant.
you can tell that I miss 10 hours sleep! thanks a lot!