Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试打印使用 mysql 数据库中的记录并使用 CSS 格式化的 php 报告,其布局如下,
我想用 PDF 转换这个页面,比如点击这里
我已经使用过 tcpdf 但由于 mysql 的记录而返回错误。你有什么想法吗?
试试DOMpdf,对我来说它是最好的,而且更容易处理。他将纯 html 转换为 PDF 文件。