Bob,

Since you are using PHP Mapscript, you have to add that step to your PHP script yourself. You may be able to simply put the request array into the parameter list:

$results = $map->processquerytemplate($_REQUEST, false);

or you may have to do some array massaging before passing the Request keyword/values to the processquerytemplate function...

Best Regards,
Brent Fraser

On 4/9/2013 1:58 PM, Bistrais, Bob wrote:

I have some code which sends query results to a template for display, using the MapServer processquerytemplate method. This works fine, but I'd also like to pass a variable to the template to be output in the result as well. I have been looking at the documentation on templates, http://mapserver.org/mapfile/template.html <http://mapserver.org/mapfile/template.html> , and saw the [post or get variable name]. This looks promising but I'm not sure how to use this with PHP-Mapscript. How does one do this?



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to