P
peter x
Hi Guyz,
I am saving the content of a text box into a memo field field in my
database. Unfortunately, I need to output this field as html which means my
carriage returns are ignored by the browser. Using <pre> isn't appropriate
so I plan on encoding text as it goes into (and comes out of the database)
i.e replace carriage returns with <br>. Whats the most efficient way to do
this? Or can you think of a better way?
Thank Peter
I am saving the content of a text box into a memo field field in my
database. Unfortunately, I need to output this field as html which means my
carriage returns are ignored by the browser. Using <pre> isn't appropriate
so I plan on encoding text as it goes into (and comes out of the database)
i.e replace carriage returns with <br>. Whats the most efficient way to do
this? Or can you think of a better way?
Thank Peter