Re: line break part2
| From: | Dddogbruce \(@home.com\) | Date: | Fri, 27 Apr 2001 23:37:01 +0000 |
| Subject: | Re: line break part2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50707@lists.php.net to get a copy of this message | ||
$string = nl2br($string)
This will change a new line into <br>; but make sure HTMLspecialchars aren't
in the same part.