[Chameleon] Query Result

Paul Spencer pspencer at dmsolutions.ca
Fri Jun 23 07:29:29 EDT 2006


your 'continue;' is in the wrong place.

Cheers

Paul

On 23-Jun-06, at 4:47 AM, listserver server wrote:

> i want to remove LAYER_INDEX, TILE_INDEX and SHAPE_INDEX from query  
> result.
>
> I've removed them using header but i have problems with matips  
> widget has i described here:
> http://lists.maptools.org/pipermail/chameleon/2006-June/004156.html
>
>
> So i'm tryng to modify the queryresult.phtml
>
> i've added around line 294
>
> //String comparison to search for fields that should NOT be     
> returned in query results.
> if (strcasecmp($key, "SHAPE_INDEX") == 0 ||
>    strcasecmp($key, "TILE_INDEX") == 0 ||
>    strcasecmp($key, "LAYER_INDEX") == 0)
>    continue;
>    {
>
> but i recieve this error when i do a query:
>
> Parse error: parse error, unexpected T_ELSE in C:\ms4w\apps 
> \chameleon\htdocs\widgets\Query\QueryResults.phtml on line 326
>
> To remove this fields what can i do in queryresult.phtml
>
> Thank you in advance!
>
> P.s. The searctool of listserver http://lists.maptools.org/ 
> search.phtml?config=chameleon now doesn't WORK!
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the Chameleon mailing list