Milo van der Linden wrote:
Add userid=1234 to the request string (and as you say, pass it through perl to sanitize, excelent choice)

And use:

   DATA "line FROM (
       SELECT num, id, line
       FROM jsview_journeyroutes
       WHERE us_id = %userid%
     ) AS foo USING UNIQUE id USING SRID=4326"

Oh, *that's* what you were talking about. :)

Works great!

Thanks a lot.

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

Reply via email to