The user types text in textarea (form html5)
Before writing to BD, I replace if I have a line break, changing '.br' or 'br' to '.'
$texto = str_replace(".<br>",". ",$texto);
$texto = str_replace("<br>",". ",$texto);
$grava-no-bd...
asked by
03.08.2018 / 22:34