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.
我曾经通过使用 PHP 连接表来从 mysql 数据库中选择数据并输出我希望拥有的任何 html。最近想通过传真把html发给我的客户,发现没有发邮件那么简单。
我想了很多办法。
实际上,人们在做类似的任务时会有什么习惯呢?通过什么常见的方式来实现它?
谢谢你。
您可以做的是将 HTML 代码转换为 pdf 文档,然后将其传真。
dompdf 完全适用于 PHP:
http://code.google.com/p/dompdf/