Luca,

You can use the savequery() function. Add a few line for saving queries 
in query.php after the 'queryBy...()' requests in function 
'q_execMapQuery()', like

...
@$this->map->queryByRect($selrect);
$queryFile = "/your-web-tmp-dir/a-random-file-name.qry";
$savedq = $this->map->savequery($queryFile);
$_SESSION['queryFile'] = $queryFile;


and when you want to re-load the query results for printing you say in 
the scripts for creating the map image for the print:

$this->map->loadquery($_SESSION['queryFile']);

then you can again parse the query results and put the output into a 
table in the PDF output. There are sample scripts how to create tables 
with FPDF.

And do not forget to run a cron job (or something similar under Windows) 
to delete the temporary query files (like doing so for the tmp images).

Armin


luca marletta wrote:
> Hi List,
> I'd like to work on the possibility to attach the info related to
> selected area (for some layers) to the pdf print under the legend.
> There is already some experience and could give me some hint to drive
> me on the right way?
> 
> Thanks a lot for you replies
> 
> luca
> --
> luca marletta
> 
> _______________________________________________
> Pmapper-users mailing list
> [EMAIL PROTECTED]
> http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users
> 
> 

Reply via email to