I try to generate on-fly pdf files by php code, the pdf file will display the web page exactly the same as on browser, did some research but have no clue how to do that.
The function: PDF_show_xy ( resource $p , string $text , float $x , float $y )
can only display text, not html page, and images.
Any advice? basically what I need is create the php file from web page, with the table data pulled from database.
Appreciated for any response.

Member Avatar for diafol

Search for pdf in this forum. I remember answering this a few months ago. A few alternatives to mine (I use http://www.ros.co.nz/pdf/) also sounded promising.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.