【发布时间】:2011-11-19 13:30:08
【问题描述】:
我正在开发一个 Facebook 应用程序,我从数据库中获取一些文本并将其显示在页面上。 问题是我想在变量 e-g 中插入换行符 如果我从数据库中复制文本并将其存储在变量中.. 让我们说 $text="我喜欢走路";
我想在“to”之后插入一个换行符,我该怎么做?
I had tried to store the text like this in html
"I love to <html> <br> </html> but that didn't worked..
假设这是文本..可能下次文本完全是没有“to”字的Differnet。
【问题讨论】: