0

Hello
I need to create a pdf doc which will look like the word doc attached, and have to use php to do so.
In the doc, the blue texts will need to be filled from data fetched from table User in mysql, and the Autofill part as well will be filled from another table, ADDRESS, which does contain a foreign key, IDMEMBER, to relate to the MEMBER table primary key. The table shown in the attached doc needs to be present as template, with the columns shown, along with the other texts.
I've also been given futher php classes to use (see members_....zip file)

Anyone can help me on how to proceed with this?

Edited by Ritesh_4: n/a

2
Contributors
2
Replies
10
Views
6 Years
Discussion Span
Last Post by Ritesh_4
1

There are other ways to produce a PDF file but I find it simplest to create the output in html first, make sure that it is all displaying correctly and then let HTML2PDF convert it. You need to ensure that the HTML is complete (e.g. every opening tag has a closing tag) but as long as you do that, it works pretty well.

0

There are other ways to produce a PDF file but I find it simplest to create the output in html first, make sure that it is all displaying correctly and then let HTML2PDF convert it. You need to ensure that the HTML is complete (e.g. every opening tag has a closing tag) but as long as you do that, it works pretty well.

thanks will give it a go

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.