This won't work..
$totalx = $dbentry[2] * $dbentry[3];
This will..
$totalx = 500 * .30;
Help!
Hmm
What error do you get?
try $totalx = doubleval($dbentry[2] * $dbentry[3]);
HB
I did something "ish" similar a while back, the values that were returned for my Database objeccts were "Resource Item #1" or something similar..
Try and just Echo "$dbentry[2]"; etc and see what value its kicking up... i suspect so.
Regards Rob
Oooops
Try this
$totalx = doubleval($dbentry[2]) * doubleva($dbentry[3]);