anyone know how to get new lines working with textarea
before going through database.
iv tried:
Nothing seems to work unless its been run through database.
But Current code doesnt run through db
before going through database.
iv tried:
Code:
$mes = $_POST["mes"];
$mes = str_replace(array("\r\n", "\r", "\n"), "<br/>", $mes);
echo $mes;
But Current code doesnt run through db


Comment