New-line characters
| From: | James Stewart | Date: | Thu, 11 May 2000 13:31:08 +0000 |
| Subject: | New-line characters | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-22@lists.php.net to get a copy of this message | ||
Hi,
I have a form for users of a system I am developing to add their newsletters
to a MySQL database through. I take their input and INSERT it straight into
the database after adding slashes.
When I retrieve the information from the database I would like to replace
double occurences of new-lines with a <p> tag. Can anyone tell me what
regexp I should be searching for?
cheers. James.