That's fine for static pages, my question was regarding dynamic pages that I
did not wish to pass through the database querying again.

I understand that if my dynamic page is
http://server/app/page1.php?cust=12345&t=3 I can supply that URL which will
result in HTML that can be processed by (for example) pdf-o-matic. However,
as I've already run all the queries necessary I would like to not have to
run them all again when requesting the PDF.

Thanks

Graham.

-----Original Message-----
From: Mikey [mailto:[EMAIL PROTECTED]
Sent: 23 September 2004 15:50
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PDF from PHP generated HTML, possible?


Hmmm, I cannot believe that there are people on this list who do not know
how to use Google.  I tried "convert HTML to pdf" and came up with loads of
results - including http://www.easysw.com/htmldoc/pdf-o-matic.php that seems
to allow you to see their source code.

HTH,

Mikey

----- Original Message -----
From: "Graham Cossey" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 3:44 PM
Subject: PDF from PHP generated HTML, possible?


>
> Following the topic about generating PDF documents from within PHP has
> prompted a thought...
>
> Is it possible to have PHP dynamically build an HTML page (from database
> data etc) and provide an option to output the page as PDF without going
> through all the database query routine again?
>
> In other words, to produce a PDF file from dynamic HTML.
>
> This is because I have seen at least one 'product' that reports to produce
> PDF from HTML 'files'.
>
> Any help/guidance/suggestions/URLs welcomed.
>
> Graham

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to