To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 09 December 2004 22:41, Ben C wrote:
I have a form which has a text box which then stores in MySQL. When I
write seperate paragraphs and try and then view what I wrote it
--- Ford, Mike [EMAIL PROTECTED] wrote:
echo nl2br(htmlspecialchars($text)) is my usual
mantra for this.
nl2br will give you back the correct formatting, but
will leave br/'s in the output.
I just went through this issue the other day, what I
found worked for me was:
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 10 December 2004 11:30, Stuart Felenstein wrote:
--- Ford, Mike [EMAIL PROTECTED] wrote:
echo nl2br(htmlspecialchars($text)) is my usual
mantra for this.
nl2br will
Ben C wrote:
I have a form which has a text box which then stores in MySQL. When I
write seperate paragraphs and try and then view what I wrote it lumps
it all together in one paragraph when I echo. I am sure I am doing
something simply wrong. Anyone have any ideas?
put pre tag around it. and
Ben C wrote:
I have a form which has a text box which then stores in MySQL. When I
write seperate paragraphs and try and then view what I wrote it lumps
it all together in one paragraph when I echo. I am sure I am doing
something simply wrong. Anyone have any ideas?
The line breaks are
5 matches
Mail list logo