|
Posted by NC on 05/10/06 18:16
G0ng wrote:
>
> I 've developed an application for secretaries in universities so as to
> save the student's data, grades, etc.
>
> One last thing I have to do is print some reports. For example all the
> grades of a studentin his 4 year studies.
>
> I think I shouldn't stick to html, because I want to manipulate the
> pages as I please. I thought of making a pdf but it's not that easy.
So if you want to manipulate content as you please, why do you choose
PDF, which is kind of difficult to manipulate once it is created? You
should consider generating content editable with a word processor. I
have had some luck with RTF (which is a format many popular word
processors understand). Here is a post I wrote to alt.php back in 2003
exaplaining how to create RTF mailing labels with PHP:
http://groups.google.com/group/alt.php/msg/fc914bd0d0a120fc
Your case is not much different; only instead of mailing labels, you
need to create a transcript. The general idea still applies though;
you have a document with a header, one or more rows of data, and a
footer. Creating a template and populating it with data from a
database shouldn't be difficult...
Cheers,
NC
Navigation:
[Reply to this message]
|