[mapserver-users] Query Template

Richard Greenwood Rich@greenwoodmap.com
Tue, 01 Oct 2002 11:45:47 -0600


>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@GreenwoodMap.com
(307) 733-0203
http://www.GreenwoodMap.com