I have created an php mail script, And in the message of the mail i sent i am using many variables (data). For example i want to sent an mail with this body msg:
What i am doing is this:
$msg = "Name: $name (brake) Email: $email (brake)......"
Make sure in the header declarations you are declaring it as an HTML e-mail.
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"
http://php.net/manual/en/function.mail.php should help out as well. Follow the example code in there and it's guaranteed to work.