<?php $string = "This\ntext\nbreaks\nlines."; $string = nl2br($string); print $string; ?>
You have javascript disabled. You will not be able to edit any code.