我在这个问题上进行了很多搜索,但是没有找到任何可以帮助我的答案。例如,我有下一行代码:
$row ['technischgereed'] = "The quotation is not technically completed \n" . $separatedArray ;
$row ['technischgereed'] = "The quotation is not technically completed \r\n" . $separatedArray ;
$row ['technischgereed'] = "The quotation is not technically completed <br/>" . $separatedArray ;
$row ['technischgereed'] = "The quotation is not technically completed". "\n(or <br> or \r\n)" . $separatedArray ;
所以我想有以下类似的东西
The quotation is not technically completed
Planned:Kitchen
In execution:Bedroom
Done:Basement
取而代之的是,我将所有内容都放在同一行中。有什么建议吗?
使用nl2br($ row ['technischgereed']),它将/ n更改为 <br />
除此之外,我认为您应该在下一条消息中使用。=,我只会看到等号,这意味着每个新的等号都会覆盖前一个而不是添加。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句