Armin Due to dabbling in not my usual code I am scratching my head to know what syntax to use to embed numResult session value in pm_cjs.js/pm.query.js as an output. Going further than that I was already trying to add a new session variable in squery.php (eg numResult2) beofre your last email, but that was going wrong too (not sure how to initiate new session variables in the app)! A brief insight to both items would be appreciated. Thanks Chris
On 26 August 2010 17:54, Armin Burger <armin.bur...@gmail.com> wrote: > On Wed, Aug 25, 2010 at 3:44 PM, Chris Jackson <webturt...@gmail.com> > wrote: > So back to the query.php code, > > do you retrieve a count of matched features from the shapefile before > > looping through them or is it even possible? > > > > You can check the returned JSON string using eg. Firebug and the > response for x_info.php. Or check the value in the session variable, > The parameter is called "numresults", but if the display limit is > reached it returns this value instead of the real number of results. > > For shapefiles you could change this in squery.php, commenting out line 89. > > armin > ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users