Hi list,

I found this code in pmapper, it queries by atributtes a shapefile:

$qStr             // STANDARD QUERY 
            foreach ($getvars as $var => $val0) {
                if ($var !                    $fldName                     $val 
                    $varValStr                     
                    if (strlen(trim($val)) > 0) {
                        $qStr .                    }
                }
            }
            
            $qStr             echo ("$fldName ---- $qStr");
            @$this->qLayer->queryByAttributes($fldName, $qStr, MS_MULTIPLE);

But I need to build a combo box with unique values of the shapefile, how can I 
do it?

Regards,

Mauricio

 __________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ?gratis! 
Reg?strate ya - http://correo.espanol.yahoo.com/ 
------------ pr?xima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: 
http://faunalia.it/pipermail/pmapper-users/attachments/20060830/62030c36/attachment.htm
 

Reply via email to