<br><br><div><span class="gmail_quote">2006/6/23, Paul Spencer <<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
your 'continue;' is in the wrong place.<br><br>Cheers<br><br>Paul<br><br>On 23-Jun-06, at 4:47 AM, listserver server wrote:<br><br>> i want to remove LAYER_INDEX, TILE_INDEX and SHAPE_INDEX from query<br>> result.<br>
><br>> I've removed them using header but i have problems with matips<br>> widget has i described here:<br>> <a href="http://lists.maptools.org/pipermail/chameleon/2006-June/004156.html">http://lists.maptools.org/pipermail/chameleon/2006-June/004156.html
</a><br>><br>><br>> So i'm tryng to modify the queryresult.phtml<br>><br>> i've added around line 294<br>><br>> //String comparison to search for fields that should NOT be<br>> returned in query results.
<br>> if (strcasecmp($key, "SHAPE_INDEX") == 0 ||<br>> strcasecmp($key, "TILE_INDEX") == 0 ||<br>> strcasecmp($key, "LAYER_INDEX") == 0)<br>> continue;<br>> {<br>>
<br>> but i recieve this error when i do a query:<br>><br>> Parse error: parse error, unexpected T_ELSE in C:\ms4w\apps<br>> \chameleon\htdocs\widgets\Query\QueryResults.phtml on line 326<br>><br>> To remove this fields what can i do in
queryresult.phtml<br>><br>> Thank you in advance!<br>><br>> P.s. The searctool of listserver <a href="http://lists.maptools.org/">http://lists.maptools.org/</a><br>> search.phtml?config=chameleon now doesn't WORK!
<br>> _______________________________________________<br>> Chameleon mailing list<br>> <a href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</a><br>> <a href="http://lists.maptools.org/mailman/listinfo/chameleon">
http://lists.maptools.org/mailman/listinfo/chameleon</a><br><br>+-----------------------------------------------------------------+<br>|Paul Spencer <a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca
</a> |<br>+-----------------------------------------------------------------+<br>|Applications & Software Development |<br>|DM Solutions Group Inc <a href="http://www.dmsolutions.ca/|">
http://www.dmsolutions.ca/|</a><br>+-----------------------------------------------------------------+<br><br><br><br><br></blockquote></div><br>