[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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2b2e3-2ba5a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2b2e3-2ba5a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?