|
Posted by J.O. Aho on 10/02/98 11:41
AK wrote:
> Question - Is there some utility/widard that folks use on the web server end
> to get data out of the My SQL and onto a pdf , which I would then send by
> email?
As people has different needs, it's difficult to make a script that will
generate a pdf on a result from a sql query.
It's really better to write that yourself, you know how you want your pages to
look, if you just fetch rows with X columns, the method to get it appear on
your HTML page wouldn't be so much different that the one needed for pdf.
You would need to think of that 0,0 is the right bottom corner and that you
need to keep check of the page size. When you made the general code for
generating one page, you easily make that to work in a loop to generate many
pages. You get a lot more control of how things should be than if you had used
some general code someone else had written.
Keep in mind, before you start to use pdf in php, see that your webhost does
have pdf support in their php.
//Aho
Navigation:
[Reply to this message]
|