View Single Post
Old 02-04-2003, 06:19 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,503
sde is on a distinguished road
PHP Code:
<?
$post
="Here is the post
which consists of several
line breaks.  Normally html won't show these breaks,
but php has a function especially made for this
that replaces the new line character with
a <br>"
;

$post=nl2br($post);

echo 
$post;
?>
sde is offline   Reply With Quote