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


RSS Icon Subscribe to comments

You need to login to post a comment.