PDF Generation: Generate a catalog


Download the solution to this exercise in a zip file exercise-fpdf.zip.
Solution (Source)

Install the FPDF library

Download the library at the following URL:
www.fpdf.org
Copy the downloaded files in a subdirectory of your working directory.

Create a Listing of your articles

Create a pdf file containing a header with an image (your logo); a footer with the number of the page; and the list of all the articles that we have in our data base (see the exercise of the last week). You have a list (table of content) and then each article separately (two per page). You should have a link between the table of contents and the corresponding article.