How should I use nl2br?
http://www.phpbuilder.com/board/showthread.php?s=&threadid=10218740
Read the context of that thread to get an idea
The short answer is to convert "/n" (newlines) to html <br>
Kerry Kobashi Kobashi Computing
The code was needed for a guestbook. This is how I did:
<?php function html($str) { $str = htmlspecialchars($str); $str = nl2br($str); return $str; } ?>