<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<font style="font-size:12pt" color="#1F497D" face="Arial" size="3"><br>Thanks for the answer but still I don't get how to do that. It seems to me that the PHP script generates SQL WHERE filters (@params) but I think I have to set that up before the search button is triggered in OL, and what I need is to search for the feature from a search button in OL. I read the filtertoParams but don't get it, do you have some code or example available for this? also, why is this procedure different from XML and GeoJson?</font><br><div><br><br><br><div><br></div><div dir="ltr">For name__like to be taken into account (1) <span>your postgis_geojson.php script needs to support comparison filters in the requests, and (2) </span>Protocol.HTTP object needs to have a filterToParams format. By default, if no filterToParams format is passed to the constructor, an Protocol.HTTP instance is configured with QueryStringFilter format, which, for example, converts a LIKE filter on attribute "name" into name__like=%value% in the query string.<span></span></div>
<div dir="ltr"><br></div><div dir="ltr">Hope it helps<span></span></div>
<div dir="ltr"></div><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex"><div></div>
</blockquote>
<br><br>-- <br>Eric Lemoine<br><br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel : 00 33 4 79 44 44 96<br>Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
<a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a><br><br></div>                                         </div></body>
</html>