Home  >  Article  >  Backend Development  >  如何能把文字控制格式保存进MYSQL

如何能把文字控制格式保存进MYSQL

WBOY
WBOYOriginal
2016-06-13 12:40:59996browse

怎么能把文字控制格式保存进MYSQL
如果不使用编辑器插件怎么能把文字控制格式保存进MYSQL
要把如下textbox1.text的内容保存进MYSQL中:'保存的格式'."\n".'控制符号'
保存进MYSQL读出来的时候就会是: '保存的格式."\n".控制符号' 
一个整字符串了。中间的换行符"\n"无效了,怎么能让"\n"在MYSQL里保存后用php读出来还具有换行的效果呢?

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