i want to remove LAYER_INDEX, TILE_INDEX and SHAPE_INDEX from query result.<br><br>I've removed them using header but i have problems with matips 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 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\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/search.phtml?config=chameleon">http://lists.maptools.org/search.phtml?config=chameleon</a> now doesn't WORK!