<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>I think you're best bet is to create a custom select.php that includes an accumulator as you are going through the features.</span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Ed Boesenberg &lt;eboesenberg@niraengineers.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> geomoose-users@lists.osgeo.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, November 11, 2011 2:17 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Geomoose-users] Add a
 total length function to select.php<br> </font> <br>
<div id="yiv1695172836"><style><!--
#yiv1695172836  
 _filtered #yiv1695172836 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv1695172836 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv1695172836  
#yiv1695172836 p.yiv1695172836MsoNormal, #yiv1695172836 li.yiv1695172836MsoNormal, #yiv1695172836 div.yiv1695172836MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"sans-serif";}
#yiv1695172836 a:link, #yiv1695172836 span.yiv1695172836MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1695172836 a:visited, #yiv1695172836 span.yiv1695172836MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1695172836 span.yiv1695172836EmailStyle17
        {font-family:"sans-serif";color:windowtext;}
#yiv1695172836 .yiv1695172836MsoChpDefault
        {}
 _filtered #yiv1695172836 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv1695172836 div.yiv1695172836WordSection1
        {}
--></style><div><div class="yiv1695172836WordSection1"><div class="yiv1695172836MsoNormal">I would like to be able to select some lines and then within the results shown, display the total length of all the selected lines.&nbsp; I am using shapefiles and each line has an attribute (PIPE_LEN) which has the segment length calculated. &nbsp;Would I be able to do this within select.php or will it have to be javascript?</div><div class="yiv1695172836MsoNormal"> &nbsp;</div><div class="yiv1695172836MsoNormal">Thanks,</div><div class="yiv1695172836MsoNormal"> &nbsp;</div><div class="yiv1695172836MsoNormal">Ed Boesenberg</div></div></div></div><br>_______________________________________________<br>Geomoose-users mailing list<br><a ymailto="mailto:Geomoose-users@lists.osgeo.org" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br><br><br> </div> </div> </blockquote></div>   </div></body></html>