Thank u matt
It really helped me and it worked just as you said.
I'm really thankful cause you replied very fast and I could solve my urgent problem. For all those who have the same problem just remember that:
FILTER is an option that works as a WHERE sentence in SQL so don't forget to write the value of the variable in ' ' couse it was my mistake.
As an example I had a PostGis table and had a column called type. I just wanted to retrieve all the data wich value were (street) so the correct statement was:
FILTER " type='street' "
and using the variable
FILTER "type= '%myvar%'"
and in the URL need to pass the variable as
....mode=browse&myvar=street
Thank u mat
View this message in context: Re: Passing a variable in mapserver
Sent from the Mapserver - User forum at Nabble.com.
Re: [UMN_MAPSERVER-USERS] Passing a variable in mapserver
ruben rincon (sent by Nabble.com) Sat, 28 Jan 2006 14:06:53 -0800
