Steve,<br><br>to be more especific, i&#39;m using javascript to do queries. so i&#39;m trying to convert on variables some mapserver parameters to build the map based on the query.<br>so far i have these:<br><br>&nbsp;&nbsp;&nbsp; var layer = 
document.pesquisa.layersList.value; //html comboBox to select layer<br>&nbsp;&nbsp;&nbsp; var item = document.pesquisa.busca.value; //html input value<br>&nbsp;&nbsp;&nbsp; var operador = document.pesquisa.operadores.value; //another comboBox for operators
<br>&nbsp;&nbsp;&nbsp; <br>and now the big problem. the next variable is based on html inputs i generate through $gpoMap-&gt;extent-&gt;minx, for example. but it will return the last map extension, not the one based on the query.<br><br>
&nbsp;&nbsp;&nbsp; var minx = &quot;minx=&quot; + window.opener.document.myform.var_minx.value + &quot;&amp;&quot;;<br><br>so, what i want is how to know the extension (minx, miny...) from the query. how to know the extension the query will return before the user submit?
<br><br><br>thanks<br><br>-- <br>Eduardo Zenaide