I found a solution.

Created a cookie with the results of the query that i want. (only in
javascript i know what i want...)

In print.php i get the cookie values and with PHP/Mapscript i get the
layer->shape->attributes that i wanted to print.

I read in Mapscript API that loadquery() is only to use with
drawquery() for example, but what i needed was attribute values of the
feature i wanted to highlight and print.

I'm learning Mapscript, but in this case was quite easy.

Thanks for the info.


2006/3/20, Armin Burger <armin.burger at gmx.net>:
>
> yes, currently you will have to parse them like a 'normal' query result
> using PHP. you can have a look at the query functions in query.php and
> squery.php.
>
> armin
>
>

--
Carlos Tim?teo, Portugal

Reply via email to