[help] php sent the template message of Wechat official account, but could not change the line.

$first is the data read by the database
as shown in figure


:

read through the database can not change the line, directly written in the code can break the line, solve =!

Php
Feb.26,2021


use this to wrap


use stripcslashes try


'value' = > $first". $first. ", try concatenating two double quotes

Menu