CR LF

Simon Faulkner News at Titanic.co.uk
Sun Aug 20 04:47:49 EDT 2000


Hi All,

I am printing a string to a html page and the string is correctly
stored in the MySQL database as

>>
This string wraps onto 3 lines
Line2
Line3
<<

But, of course, it comes out on the web page as

>>
This string wraps onto 3 lines Line2 Line3
<<

I need to replace each return with a <BR> as I print the field.

Any ideas? - what is the smart way to do this?

Simon


Simon Faulkner



More information about the Python-list mailing list