New-line characters
[email protected] (James Stewart)
| Newsgroups | php.general |
|---|---|
| Message-ID | <E7ACE637F3E5D211AFB50080C86DF8812826D3@j2000_nt_srv1.jubilee2000uk.org> |
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.