Hey guys, ive got a script that takes info from a form and both submits it to a databse and then mails it also....
The part im focusing on is the MAILING part...Its very hard to read and i want to BOLD the headings...here is a code snippet..
$msg = "New Warranty from Tuff Tonneaus-:\n \n";
$msg.= "Name-: $firstname $lastname\n";
$msg.= "Address-: $address\n";
$msg.= "Suburb-: $suburb\n";
mail($to,$subject.": Warranty",$msg,"From: $from");
That mails, name, adress and suburb just FINE.
Only problem? Id like the headings, "Name-:" "Address-:" and "Suburb-:" to be bolded <b> in HTML...id like to keep this format of code and in php still, so yeah can you help me?
I thought maybe $msg.= '<b>'"Name-:'</b>' $firstname $lastname\n";
OBVIOUSLY i know that wont work, just trying to illustrate WHAT im trying to do exactly
Thanks guys! really need a response ASAP
Apreciated!
The part im focusing on is the MAILING part...Its very hard to read and i want to BOLD the headings...here is a code snippet..
$msg = "New Warranty from Tuff Tonneaus-:\n \n";
$msg.= "Name-: $firstname $lastname\n";
$msg.= "Address-: $address\n";
$msg.= "Suburb-: $suburb\n";
mail($to,$subject.": Warranty",$msg,"From: $from");
That mails, name, adress and suburb just FINE.
Only problem? Id like the headings, "Name-:" "Address-:" and "Suburb-:" to be bolded <b> in HTML...id like to keep this format of code and in php still, so yeah can you help me?
I thought maybe $msg.= '<b>'"Name-:'</b>' $firstname $lastname\n";
OBVIOUSLY i know that wont work, just trying to illustrate WHAT im trying to do exactly
Thanks guys! really need a response ASAP
Apreciated!