Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

math with Spry data 1

Status
Not open for further replies.

simon551

IS-IT--Management
May 4, 2005
249
Hi,

I'm using php to generate spry xml data for a sortable report. and I'm wondering if anybody knows how to do a little math on the data. I just want to total a column.

this is my repeat, sortable, column:

<td>{rTotal}</td>

I'd like to have another field in a new row (after all the repeat obviously with something like this:
<tr>
<td>{sumTotal}</td>
</tr>

I haven't found any documentation on working with the data. do I need to learn xQuery to be able to do this?
 
I appreciate it. Didn't find quite what I was looking for though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top