dongmi4734 2013-01-09 14:06
浏览 23
已采纳

如何将数据从MYSQL / PHP发送到Coldfusion组件?

I'm trying to create functionality to output pages generated from MYSQL queries in PHP as PDF files.

To do this I need a way of wrapping up this data that is placed into dynamic tables and placing it between the tags, so it can be converted into a clean PDF.

I'm not sure where to start with this other than the coldfusion component will be called from the PHP page, rather than the other way round as I originally envisaged.

  • 写回答

2条回答 默认 最新

  • douxin1956 2013-01-09 14:38
    关注

    I would pull the dynamic content from your php scripts like this:

    <CFDOCUMENT format="pdf" src="url-to-php-script.php" mimetype="text/html" filename="#expandpath("your.pdf")#" />
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?