I want to replace all "new line" characters with <br> so I can print my text HTML correctly ...
I do
$text = preg_replace("\n", "<br>", $text);
and I get this error:
Warning: Empty regular expression in /usr/local/www/virtual-sites/dinamo.online.ro/teste/log/add_art.php on line 9
Can you help?