When I change or include some data from a textearea
I wanted it to save the line breaks. And also, when I show a textarea
before the data that already exists I wanted it to show the line breaks.
Then I put the two textarea
and saved it in the bank. I've already looked at the broken line codes and tried it here and it did not work, can anyone help me?
Observações:</p>
<p>
<textarea name="obs" cols="150" rows="10" style="resize:none" readonly ><?php echo $obs; ?></textarea> <!-- Aqui somente mostra os dados do banco e queria com as quebras de linhas. -->
</p>
<br>
Para adicionar dados usar o campo abaixo.
<textarea name="obs1" rows="10" cols="150" style="resize:none" ></textarea> <!-- Aqui a pessoa digita o que irá adicionar com o texto acima e queria com quebra de linha. -->