Hunter Hillegas wrote:
>
> When people submit data to my database (mySQL via JDBC) through my servlet,
> and display the contents, any carriage returns that they enter are
> discarded... Any way to somehow turn a carriage return in the input form
> into a <BR> or something?
>
> Hunter
Hi Hunter
This is an easy one :)
Just use:
UPDATE
content_table
SET
content_col = REPLACE( content_col, '\n', '<BR>' )
, just_inserted = false
WHERE
just_inserted = true
;
Tschau
Christian
PS: Sorry for the late answer, I was really busy.