in reply to Text from a form to MySQL
print "<pre>$text_from_db</pre>"; [download]
Should give you the same formating as the original. Of course I am making the assumption that this is for a web page.