Hi
I'm currently pulling back addresses from a layer using the following code:
// create a filter to select the desired features.
$queryOptions = new MgFeatureQueryOptions();
$filterQuery = $_GET['searchColumn'] . " LIKE '%" . $_GET['searchValue'] .
"%'";
$queryOptions->SetFilter($filterQuery);
I would however like to add more than one query into this is it possible?
Something like:
$queryOptions = new MgFeatureQueryOptions();
$filterQuery = "c_uprn LIKE '%" . $_GET['searchValue'] . "%'";
$filterQuery2 = "AND c_paon LIKE '%" . $_GET['paonValue'] . "%'";
$queryOptions->SetFilter($filterQuery);
$queryOptions->SetFilter($filterQuery2);
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Advanced-search-of-layer-Can-I-use-multiple-filters-tp5673825p5673825.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users