[mapserver-users] Fatal error: Call to undefined
 function:   querybyattributes()
   
    Daniel Morissette
     
    morissette@dmsolutions.ca
       
    Thu, 21 Nov 2002 11:35:40 -0500
    
    
  
David Boggio wrote:
> 
> Thanks a lot, your syntax works perfectly. I had not tried to put the
> field name between quotes, although I thought I had tried everything!
> Isn't there a IN operator ?
> 
> For example : setFilter("('[YOUR_FIELD]' IN
> ('3c84fb819c517','3c691cde3d1a7'))")
> 
You could probably use a REGEX:
- $layer->set("filteritem", "YOUR_FIELD")
- $layer->setFilter("/3c84fb819c517|3c691cde3d1a7/")
-- 
------------------------------------------------------------
 Daniel Morissette               morissette@dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------