<?php ?> <form action="test_mail.php" method="POST"> <p>Pole typu textarea <textarea name="nazwa_pola"></textarea></p> <input type="submit" value="Send"> </form> <?php }else{ $to ="email"; $subject ="temat"; $message ="<STYLE type='text/css'>/*<![CDATA[*/ style_css /* ]]> */</STYLE>"; $message .="<p>".$_POST['nazwa_pola']."</p>"; $headers ="MIME-Version: 1.0"."\n"; $headers .="Content-type: text/html; charset=iso-8859-2"."\n"; $headers .="Content-Transfer-Encoding: 8bit"."\n"; $headers .="From: ALERTS@mailer.gro.pl.corp"."\n"; ?>
Jeśli user wpisze w pole nazwa_pola tekst i będą wiersze oddzielone enterami to chciałbym żeby po wysłaniu wartości tego pola w emailu także były entery, ale wszystko jest w jednej linii. Jakieś podpowiedzi jak sobie z tym radzic?

Pozdrawiam