简体   繁体   中英

How can I remove white pages in FPDF in PHP

如何删除白页?数据未显示在其特定列的前面。我使用了多单元格选项,但是当它以特定宽度显示数据时,其crosses(X)显示在页面底部而不是显示在名称前面。删除这些空白并在一个网格中显示数据。这个问题重复了很多次,我陷入其中。

How can i remove white page? Data is not showing in front of their specific column.I have used multi cell option but when it display the data in specific width its crosses(X) is displaying in bottom of the page instead of displaying in front of the name.I have to remove these white spaces and displaying the data in a one grid.This issue is repeated many times and i was stuck in it.

MulitCell in fpdf does not have good support to go across a page. If it's possible for you, the simplest solution is to use Cell instead of mulitCell, or to limit the number of rows in multiCell to prevent it from going to the next page. However, if you use a Cell, you will need to limit the length of the data so that it doesn't extend past the boundaries of the cell.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM