Home  >  Article  >  Backend Development  >  关于微信公众平台开发中换行的有关问题!

关于微信公众平台开发中换行的有关问题!

WBOY
WBOYOriginal
2016-06-13 11:40:06924browse

关于微信公众平台开发中换行的问题!!!!
首先,我在做微信公众平台的开发,然后遇到需要换行的文字,我有百度过很多的文章都说使用”\n“就可以,但是我想实现的是两行文字之间会有一个空行,那使用”\n\n“,但是通过手机返回的文字中并没有出现两行文字之间有间隔的效果。。。。

求大神。。。。

贴出代码和图片:

<br />/**<br /> * 显示帮助信息<br /> * @return	返回帮助信息文本<br /> */<br /> private function help() {<br />        $text = "您好,这里是美景创意标牌标识有限公司,请回复数字选择服务:\n\n";<br />	$text .= "1--标牌标识资讯\n";<br />	$text .= "2--雕塑艺术资讯\n";<br />	$text .= "3--品牌设计资讯\n";<br />	$text .= "4--天气信息查询\n";<br />	$text .= "5--关于作者信息\n";<br />	$text .= "回复“?”显示此帮助菜单\n\n";<br />	return $text;<br /> }<br />


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn