On 12/23/05, Armin Burger <[EMAIL PROTECTED]> wrote:
> 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

Thanks a lot Armin

--
luca marletta

Reply via email to