html textarea to DB
I have a form with a textarea (rows and cols) submitting to a php form via POST, and i insert the values into SQL Server 2000 table.
works fine, but then when I try to display it again replacing the line breaks (where ever the user pushed enter in the textarea) with a BR tag, it never seems to be replaced (as if the enter key doesn't get stored.
I've tried:
preg_replace (\r and \r\n)
strstr (\r and \r\n)
and
nl2br
|