Beh, se lo devi stampare allora usa la funzione nl2br
codice:
<?
echo nl2br("ciao\n mondo");
?>
restituirà ciao
mondo

nl2br