Try putting brackets around the field and parenthesis around the query string.
$Layer-> querybyattibutes ( "col", "([col] > 0 AND [col] < 100)”)
Paul
From: mapserver-users on behalf of
Moretti Edmar
Date: Wednesday, October 19, 2016 at 9:12 PM
To: MapserverList OSGEO
Subject: [mapserver-u
Paul,
thank you, your example solved my problem in Postgis and Shapefile layers
(Mapserver version 7)
Edmar
2016-10-20 18:47 GMT-02:00 Moen, Paul T. :
> Try putting brackets around the field and parenthesis around the query
> string.
>
>
>
> $Layer-> querybyattibutes ( "col", "([col] > 0 AND [c