group_concat MYSQL new line

后端 未结 4 1569
逝去的感伤
逝去的感伤 2020-12-06 10:00
group_concat(A,\' \',B,\' \',C) as Name,

then using this php for displaying

         


        
4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-06 10:54

    I figured it out. this is the correct way to add line break as seperator in the browser:

    group_concat(A,' ',B,' ',C separator '
    ') as Name,

提交回复
热议问题