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

Nicol Hermann mapserver@geochem.de
05 Feb 2004 11:37:03 +0100


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@lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 
> 


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users