gpt4 book ai didi

php - 用 PHP 在 CSV 文件中写一个逗号

转载 作者:可可西里 更新时间:2023-11-01 13:34:32 24 4
gpt4 key购买 nike

我正在发送一个 csv 文件作为标题,我想使用逗号(不是为了分隔,只是为了使用)。我该怎么做?我正在使用 PHP,但无法使用 fputcsv,因为我将其作为 header 发送。

最佳答案

只需在它周围使用 '"'.$value.'"' 就可以了。

关于php - 用 PHP 在 CSV 文件中写一个逗号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7545733/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com