Return to Snippet

Revision: 42944
at March 13, 2011 19:44 by tonatiuh


Initial Code
UPDATE table SET field = REPLACE(field, '<br />', '\n');

Initial URL


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

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

Initial Tags
mysql

Initial Language
MySQL