I am looking for an answer to this same question.<br><br><div class="gmail_quote">On Fri, Apr 17, 2009 at 4:46 AM, A387 <span dir="ltr">&lt;<a href="mailto:adri.kodde@gmail.com">adri.kodde@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi all,<br>
<br>
This is my first post in the mapserver mailinglist.<br>
I&#39;m having problems with querying Oracle Spatial. For example, this is my current query:<br>
DATA &quot;GEOM FROM (SELECT * FROM WIJK_2008 WHERE datum LIKE &#39;%-08&#39;) USING SRID 28992&quot;<br>
<br>
What I want now, is that if I access my file by the following URL, is that the LIKE values will be changed by the parameters given in the URL.<br>
<br>
Current: <a href="http://localhost/cgi-bin/mapserv.exe?map=../../apps/wijk/htdocs/wijk_2008_gen.map&amp;layer=wijkgrenzen&amp;mode=map&amp;program=../cgi-bin/mapserv.exe" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=../../apps/wijk/htdocs/wijk_2008_gen.map&amp;layer=wijkgrenzen&amp;mode=map&amp;program=../cgi-bin/mapserv.exe</a><br>

<br>
What I want:<br>
<a href="http://localhost/cgi-bin/mapserv.exe?map=../../apps/wijk/htdocs/wijk_2008_gen.map&amp;layer=wijkgrenzen&amp;mode=map&amp;program=../cgi-bin/mapserv.exe&amp;year=2008" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=../../apps/wijk/htdocs/wijk_2008_gen.map&amp;layer=wijkgrenzen&amp;mode=map&amp;program=../cgi-bin/mapserv.exe&amp;year=2008</a>.<br>

<br>
Could you give me a heads up, about if this is possible and how to make my mapfile dynamically?<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/GET-parameter-in-MapServer-query-tp2644877p2644877.html" target="_blank">http://n2.nabble.com/GET-parameter-in-MapServer-query-tp2644877p2644877.html</a><br>
Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</font></blockquote></div><br>