Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/286.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
添加<;br>;标记到php_Php_Laravel - Fatal编程技术网

添加<;br>;标记到php

添加<;br>;标记到php,php,laravel,Php,Laravel,我想通过Laravel发送通知,一切正常,但我有一些风格问题 如何将标记添加到这行php 公共功能图腾图($product) { 返回消息::create() ->至(“@xxxxx”) ->内容('新产品在此替换下线 content('newproduct is here我认为您应该更改这一行,->content('newproduct is here->content('newproduct is here\r您是如何添加的?\r?您使用了哪些引号?您是否检查了@C2486的有效性…)请分享

我想通过Laravel发送通知,一切正常,但我有一些风格问题

如何将

标记添加到这行
php

公共功能图腾图($product)
{
返回消息::create()
->至(“@xxxxx”)
->内容('新产品在此替换下线


content('newproduct is here我认为您应该更改这一行,
->content('newproduct is here
->content('newproduct is here
\r
您是如何添加的?
\r
?您使用了哪些引号?您是否检查了@C2486的有效性…)请分享一个答案,我会批准它。我不确定电报标记是否支持html

。它正在打印
\n
例如
新产品在这里@u\u mulder我想他们支持标记