CecilXavier
Technical User
I'm a very novice coder. I am trying to add a simple math function in my code. I'm using this product called PHPRunner. When I try to add code to mutliply two numbers queried from my sql database it muffs up on me. This is what I am looking at.
style="BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid"
class=report border=0 cellSpacing=0 cellPadding=1 width=auto>
<TBODY>
<TR>
<TD style="WIDTH: 97px" class=blackshade>Number of Images</TD>
<TD style="WIDTH: 297px" class=blackshade>Number of Repeated Images</TD></TR>{BEGIN grid_row}{END grid_row}
<TR>
<TD style="WIDTH: 97px" class=blackshade>Number of Images</TD>
<TD style="WIDTH: 297px" class=blackshade>Number of Repeated Images</TD></TR><!--------------------------------------global summary-------------------------------------------->
<TR>
<TD style="WIDTH: 399px" class=globalsummary colSpan=2>Global summary
{$global_total_cnt} -
records total</TD></TR><!-- Sum -->
<TR>
<TD style="WIDTH: 97px" class=globalsummary>Sum {$global_totalNumImag_sum} </TD>
<TD style="WIDTH: 297px" class=globalsummary>{$global_totalNumRep_sum} </TD></TR>
<TR height=36>
<TD style="WIDTH: 97px"> AVG</TD>
<TD style="WIDTH: 297px">
</TD></TD></TR></TBODY></TABLE></DIV>{END grid_block}</DIV>
Where the space is I'm trying to get {$global_totalNumRep_sum} divided by {$global_totalNumImag_sum} times 100.
This seems like it is very simple and I just cannot see it. Any help would be greatly appreciated.
style="BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid"
class=report border=0 cellSpacing=0 cellPadding=1 width=auto>
<TBODY>
<TR>
<TD style="WIDTH: 97px" class=blackshade>Number of Images</TD>
<TD style="WIDTH: 297px" class=blackshade>Number of Repeated Images</TD></TR>{BEGIN grid_row}{END grid_row}
<TR>
<TD style="WIDTH: 97px" class=blackshade>Number of Images</TD>
<TD style="WIDTH: 297px" class=blackshade>Number of Repeated Images</TD></TR><!--------------------------------------global summary-------------------------------------------->
<TR>
<TD style="WIDTH: 399px" class=globalsummary colSpan=2>Global summary
{$global_total_cnt} -
records total</TD></TR><!-- Sum -->
<TR>
<TD style="WIDTH: 97px" class=globalsummary>Sum {$global_totalNumImag_sum} </TD>
<TD style="WIDTH: 297px" class=globalsummary>{$global_totalNumRep_sum} </TD></TR>
<TR height=36>
<TD style="WIDTH: 97px"> AVG</TD>
<TD style="WIDTH: 297px">
</TD></TD></TR></TBODY></TABLE></DIV>{END grid_block}</DIV>
Where the space is I'm trying to get {$global_totalNumRep_sum} divided by {$global_totalNumImag_sum} times 100.
This seems like it is very simple and I just cannot see it. Any help would be greatly appreciated.