Home >Database >Mysql Tutorial >How to wrap new lines in mysql?
In the process of mysql operation, do you have such doubts? Don't know how to do line breaks in mysql. In fact, line breaks can be easily achieved by entering the line break command statement in mysql.
Newline statement:
UPDATE 表名 SET 字段= REPLACE(REPLACE(字段, CHAR(10), ''), CHAR(13), '');
Note:
The above is the detailed content of How to wrap new lines in mysql?. For more information, please follow other related articles on the PHP Chinese website!