如何在phpexcel中编写连接的url nd文本

问题描述 投票:0回答:1

我正在打印一些url,它在phpexcel中变得很动态。

$sheet->setCellValue('M'.($results+2),($result['headline']).$result['url']);

但是输出是这样的Govt to start Air India roadshows in Singapore this weekhttp://www.windowtonews.com/news.php?id=288115

我该如何写,以使链接带有超链接

出现在文本上

我正在打印一些在phpexcel $ sheet-> setCellValue('M'。($ results + 2),($ result ['headline'])。$ result ['url'])中动态变化的URL。但是输出像这样启动了印度航空...

php phpexcel phpexcel-1.8.0
1个回答
0
投票

您可以通过三个步骤完成此操作:

© www.soinside.com 2019 - 2024. All rights reserved.