<? $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; ?>