this is what I have so far..
$friend = $_POST['text_friend'];
$subject = $_POST['text_subject'];
$from = $_POST['text_from'];
$temp_text = $_POST['text_message'];
//$temp_text = "Hey <friend>,
// Please join us on October 30, 2012 for a Halloween Party.
// <a href="google.com">Click here for more details.</a>";
$new_string = str_replace("<friend>", $full_name, $temp_text);
//mail (to, subject, body, headers)
mail( $friend, $subject, $new_string, $from);
This post has been edited by clee06: 02 October 2012 - 10:16 AM

New Topic/Question
Reply




MultiQuote




|