Re: PDF from PHP generated HTML, possible?
| From: | Matt M. | Date: | Thu, 23 Sep 2004 15:04:22 +0000 |
| Subject: | Re: PDF from PHP generated HTML, possible? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197698@lists.php.net to get a copy of this message | ||
> 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?
you could use output buffering.
If they choose output as pdf, capture the html that was produced, run
it through your conversion program, then output it to the borwser.