.oO(NotGiven)
I have a form that inserts records in a database. When I display records,
the paragraphs don't show up.
I am using dreamweaver MX, PHP, and MySQL.
You could use nl2br() to replace the linebreaks with HTML-linebreaks,
but the better solution would be to keep the paragraphs, i.e. to replace
double linebreaks with </p><p> (easy to do with preg_replace() or
str_replace()) and enclose the entire string with <p></p>.
For a stored string
paragraph 1\n\nparagraph 2
the result would be
<p>paragraph 1</p><p>paragraph 2</p>
Micha