[mapserver-users] PHP filter expression

Pedro Carrasco pcarrasco@iver.es
Fri, 20 Sep 2002 13:12:02 +0200


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"