[mapserver-users] Query Template

Richard Greenwood Rich at greenwoodmap.com
Tue Oct 1 13:45:47 EDT 2002


>A basic question I think.  How can you set the Query template to be
>dependent on the query itself?
>
>I'm picturing something like this: TEMPLATE  "[ATTRIBUTE].html"

That should work. Also TEMPLATE  "query_handler.php?attribute=[ATTRIBUTE]" 
should work if you want to pass it to a server-side script. But you can not 
use that for queries that might return more than one record (itemnquery) 
because you can only redirect once.

Rich


Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich at GreenwoodMap.com
(307) 733-0203
http://www.GreenwoodMap.com




More information about the mapserver-users mailing list