Send to a Friend

Evan's avatar

Text within a PHP Mail function...?

Asked by Evan (810points) August 6th, 2007

I'm using the PHP Mail() function, and i'm using a standard html form to have the info put in, and then defining each field as part of

$mail_body = "example: $example\n\nExample on line 2: $example2";

and so on.. the problem i'm having is that within the mult-line < textarea > field, where if a contraction is typed in (such as can't, or don't), then in the email it shows up as "can\'t" or "don\'t"

why is this, and how do i fix it? please please? :) :)

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.