First, everuthing was working fine and now it's not.
If I type in the textarea of my form
using the enter key to go to a new line, it now insert in the db
$text = $_POST['text']
$text = str_replace("\n", "<br>\n", $text);
to replace the new line character, I also try nl2br() function to no avail and like I said it was working fine before, any advice?