<?php $string = "one line\n"; $string .= "another line\n"; $string .= "a third for luck\n"; print nl2br( $string ); ?>