【发布时间】:2018-07-17 10:55:55
【问题描述】:
我在 fwrite 中遇到了 href 引号问题。 我没有的是这样的:
fwrite($fp, "Some text ".$SomeVar." some text :".$SomeVar.". Some text <a href="https://www.google.com/" target="_blank"><br>Some text <a href="https://www.google.com/" target="_blank">");
有什么方法可以将这些 href 引号标记为纯文本?
我在某处读到使用双引号可能会有所帮助,但它没有。我也试过:<a href="https://www.google.com/\" target="_blank\">
谢谢。
【问题讨论】:
-
如果您的字符串包含引号,请为您的字符串使用单引号