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

Pedro A. Carrasco Ponce pedro.carrasco at iver.es
Thu Feb 5 03:37:41 EST 2004


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




More information about the mapserver-users mailing list