Mam pole textarea, chciałbym aby po wpisaniu do niego tekstu z enterami, zostawał on zapisywani w postaci
Cytat
Mama \n tata \n rower
itdczy idzie takie coś zrobić?
<? echo "<textarea name='tekst'></textarea> <input type='submit' value='Zapisz' /></form>"; } else { $dane = $pole8."\n"; $file = "x.js"; } ?>
function lol() { document.getElementById('x').value = 'Aaa \n bbb \n ccc \n'; }
function lol() { document.getElementById('x').value = 'Aaa bbb ccc '; }
<?php ','\n',$text); ?>