[mapserver-users] PHP filter expression

Pedro Carrasco pcarrasco at iver.es
Fri Sep 20 04:12:02 PDT 2002


Hi all,
What's the correct format of a filter in the funcion setFilter?

I try to put
$lyr->set('filteritem','ID');
$lyr->setFilter('/'.$values.'/');

whith $values = 1234|234|234

but it not works.

If I put the filter:
$lyr->setFilter($values);

and values= '1234'|'234'|'234';

it works but only show the first value

Thanks in advance.
Regards

--
<Pedro/>

 "Quedarse en lo conocido por miedo a lo desconocido 
es lo mismo que mantenerse con vida pero no vivir"  





More information about the MapServer-users mailing list