Do I have to prep $strings prior to math functions?
Posted: Tue Apr 01, 2003 7:43 pm
All values are numbers. But do they become text strings that I need to change before doing simple math on them?
$newoverall_total =
$row_Movie['overall'] + $HTTP_POST_VARS['overall'];
$newoverall_votes = ++$row_Movie['overall_votes'];
$newoverall = $newoverall_total/$newoverall_votes;
Thnaks for any help.
Ron R
$newoverall_total =
$row_Movie['overall'] + $HTTP_POST_VARS['overall'];
$newoverall_votes = ++$row_Movie['overall_votes'];
$newoverall = $newoverall_total/$newoverall_votes;
Thnaks for any help.
Ron R