1. Hi everybody. I have a problem. I am trying to retrieve some text from a form and then send it as an email.
The problem is that text area control that's on the form doesn't send the new lines character when using POST.
Does anybody have an idea how to fix this?
2. How can I get the name of the php file i am on?
Thanks!
\n-new line
Moderator: General Moderators
1) Do you send a html mail? Then you have to convert the \n characters to <br />, see http://de2.php.net/nl2br
2) __FILE__, see http://www.php.net/language.constants.predefined
2) __FILE__, see http://www.php.net/language.constants.predefined