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


/ Published in: MySQL
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. UPDATE table SET field = REPLACE(field, '<br />', '\n');

Report this snippet


Comments


You need to login to view comments.