Are you talking about multiple line input boxes from HTML forms, or from a
Visual Basic program (or some other such program)?

In both cases, the line breaks are included in the output the form posts.
However, when displaying them in HTML the linebreaks are ignored and you'd
have to use the <br> tag instead.  If you were retrieving them for the VB
program, they would display correctly anyway.

The character for the line break in normal text files is '\n', the line
break for VB and other windows files is '\r\n' (2 characters).

Best regards,

Jeremy Reed
"Robin McKenzie" <[EMAIL PROTECTED]> wrote in message
> I am storing comments in a MySQL db, and want to know how to include line
> breaks from multi-line input boxes.
> Does anyone have any experience of doing this?
> Kind Regards,
> Robin

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to