welcome to the fourth chapter of PHP FPDF tutorial series.
in this chapter, i'm about to demonstrate how to put data from database into PDF.
and how to represent data in printable PDF pages.
in this tutorial, we will utilize header and footer from previous chapter.
and we will also learn how to set page break, deal with overflowing content.
i have prepared some random dummy data which contain list of clients with phone, email, and address.
the data is stored in mysql table in database.
in order to trigger page break, we need a lot of data, so here i've prepared 200 of them.
Source code : [ Ссылка ]
More tutorial on this series : [ Ссылка ] (PHP PDF Tutorial Series)
Subtitle:English, Indonesia
![](https://i.ytimg.com/vi/CamDi3Syjy4/maxresdefault.jpg)