Posts: 158
Name: cbeaudin
Location: Proud to be Canadian
|
I have a text area to send post data to a php file. When you use a line break in the text area it inserts "rn". Shouldn't it be inserting "\r\n"?
I am not using anyting to clean up the variable.
if i type this into the text area:
double line
[linebreak]
test
PHP Code:
print $_POST['textarea'];
it outputs: "double linerntest"
__________________
- cbeaudin
|