Fark_Maniac
2[H]4U
- Joined
- Feb 21, 2002
- Messages
- 2,438
so I'm passing text via a form to php. I'm doing this via forms. what is frustrating me is that when I check to see how the text got passed from the textarea box...there are no line breaks. I'm wanting to try to build a list of items, then store them in a single record in mysql.
so in simpler terms...I enter this in my textarea box:
line1
line 2
line3
when I echo out my passed variable, I get this:
line1 line 2 line3
any way to preserve the line breaks?
so in simpler terms...I enter this in my textarea box:
line1
line 2
line3
when I echo out my passed variable, I get this:
line1 line 2 line3
any way to preserve the line breaks?