[Mapserver-users] Multiple field query in PHP/Mapscript

Nicol Hermann mapserver at geochem.de
Thu Feb 5 02:37:03 PST 2004


Hi Pedro,

i had the same problem like you. The solution which works for me was
described in the following post:
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0311/msg00288.html

HTH
Nicol


Am Don, 2004-02-05 um 09.37 schrieb Pedro A. Carrasco Ponce:
> Hello,
> I'm trying to make a multiple field query in PHP/Mapscript, I made the 
> follow:
> 
> $lyrPobs->queryByAttributes("","[POB_MAY] LIKE  AND [PROVIN_MAY] LIKE 
> $provincia%",MS_MULTIPLE);
> 
> But it not works, it need the first paramenter (the query item), but if 
> I put the query item, then the second part must be the value to search, 
> but in only *one* field (the query item).
> Whow can I made this kind of searchs in PHP?
> 
> Thanks in advance.
> Regards.
> -- 
> Pedro A. Carrasco Ponce
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 
> 





More information about the MapServer-users mailing list