user4fun Posted January 24, 2007 Share Posted January 24, 2007 <?php$to = "$family";$subject = " THIS IS THE PART I NEED HELP WITH";$message = "<html><head><title>.</title></head><body><center><h2>A family member <br>more headings</h2></center><table align='center' border='0' cellspacing='1' cellpadding='0' style='border: 1px solid #000000;'><tr><td align='left' width='100%'><table width='100%'><tr><td width='100%' valign='top'><table width='100%' style='border: 1px solid #000000;' bgcolor='#E4E4E4'><tr><td valign='top' align='center'>This message was sent to you by **Need help with this one also**ETC ETC ETC </td></tr></table></td></tr></table></td></tr></table></body></html>";$header = "Content-type: text/html;charset=iso-8859-1";mail ($to, $subject, $message,$header);?> In the top of the code under $subjecti need it to sayYour $relation $namethese two variable are user input form a previouse formthe same thing in the message, when the message starts it says this message was send to you byyour $relation $namethen it goes on with the regular messagehow can i do that??i would appreciate any help. Link to comment Share on other sites More sharing options...
ATM Posted January 24, 2007 Share Posted January 24, 2007 Sorry, I don't really understand what you need help with, please could you make it a little bit more clearer what you are trying to do, thank you. Link to comment Share on other sites More sharing options...
justsomeguy Posted January 24, 2007 Share Posted January 24, 2007 $subject = "Your {$relation} {$name}";The same thing for the body. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now