Posted By

tonatiuh on 03/13/11


mysql br newline

Versions (?)

To replace "br /" (html tag) for php new line tag

 / Published in: MySQL

With this snipt you could replace all the "" tags that you have in a table for php newline character.

  1. UPDATE table SET FIELD = REPLACE(FIELD, '<br />', '\n');

Report this snippet  

You need to login to post a comment.