470,833 Members | 1,309 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

sending an email with the textarea text

Hi guys,

Can anyone tell me how to use a text area and send an email
so that each line will be displayed on each line in the email
because right now its like one long string.

So basically what i do is that I have 1 textarea called msg
and when i press the submit it does this code:

mail ("my@email.com, "email test", $msg, "FROM : my@othermail.com");

--
Yang

Jul 17 '05 #1
1 1922
This is a HTML question. Set the wrap attribute of the textarea to "hard."

Uzytkownik "Yang Li Ke" <ya******@sympatico.ca> napisal w wiadomosci
news:LR********************@news20.bellglobal.com. ..
Hi guys,

Can anyone tell me how to use a text area and send an email
so that each line will be displayed on each line in the email
because right now its like one long string.

So basically what i do is that I have 1 textarea called msg
and when i press the submit it does this code:

mail ("my@email.com, "email test", $msg, "FROM : my@othermail.com");

--
Yang

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by xiaofan | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.