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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.