Hi,
A php script was created for me. The person that created the script has passed away. I would like to amend the script a little. Hoping someone here can help me out.
When an html form is filled out and submitted, the script below returns a plain text email. I would like to have the return email bold the line THIS FORM IS NOT A RECEIPT OF PAYMENT. Any help would be greatly appreciated. Thank you!
[php]<?php
$to = $_POST[“x_email”].";
$from = $_POST[“x_email”];
$subject = " REGISTRATION–> “.$_POST[“x_first_name”].” “. $_POST[“x_last_name”];
$headers = “From: $from”;
$message = $message.“THIS FORM IS NOT A RECEIPT OF PAYMENT”.”\r\n".PHP_EOL;
$message = $message."Name: “.$_POST[“x_first_name”].” ".$_POST[“x_last_name”].PHP_EOL;
$message = $message."Address: ".$_POST[“x_address”].PHP_EOL;
$message = $message.“City: “.$_POST[“x_city”].” State: “.$_POST[“x_state”].” Zip: “.$_POST[“x_zip”].”\r\n”.PHP_EOL;
$message = $message."Phone: ".$_POST[“phone”].PHP_EOL;
$message = $message.“Email: “.$_POST[“x_email”].”\r\n”.PHP_EOL;
$message = $message."Deposit: ".$_POST[“deposit”].PHP_EOL;
$message = $message."Deposit For: ".$_POST[“deposit_for”].PHP_EOL;
$message = $message.“Player Names: “.$_POST[“player_names”].”\r\n”.PHP_EOL;
$message = $message."sunday: ".$_POST[“sunday”].PHP_EOL;
$message = $message.“friday: “.$_POST[“friday”].”\r\n”.PHP_EOL;
$message = $message."Team Name(s): ".$_POST[“team_name”].PHP_EOL;
$message = $message."Other Payment: ".$_POST[“other_payment”].PHP_EOL;
$message = $message.“Comments: “.$_POST[“comments”].”\r\n”.PHP_EOL;
$message = $message.“Total Amount: “.$_POST[“x_amount”].”\r\n”.PHP_EOL;
$message = $message.“THIS FORM IS NOT A RECEIPT OF PAYMENT”.PHP_EOL;
mail($to,$subject,$message,$headers);
?>[/php]