PHP queryByAttributes

Hans Palmborg hans.palmborg at ORESUNDSKRAFT.SE
Mon Nov 1 06:11:58 PST 2004


Hello!

How to zoom in and color the match/matches of the question with
queryByAttributes?

//CODE IN PHP
if ( $http_form_vars["Querystring"] )
 {
 $szQuerystring = $http_form_vars["Querystring"];
 $oParcelLayer = $oMapSession->oMap->getLayerByName("Layername");
 $oParcelLayer->queryByAttributes("Columnname", "$szQuerystring",
        MS_MULTIPLE );
 }

Please help!!

Installed versions:
WIN XP sp2
IIS 5.1
PHP4.3.9.9
PHP_MAPSCRIPT_42
MAPSERVER4.2.0

//Hans Palmborg in Sweden!



More information about the MapServer-users mailing list