Jump to content

Recommended Posts

PLEASE help!!

 

i have no idea how to make the items to apper bold in the output:

			 
             
             $message = "First Name: $first_name\n\n";
		 $message .= "Last Name: $last_name\n\n";
		 $message .= "Company: $company\n\n";
		 $message .= "Address: $address\n\n";
		 $message .= "Address 2: $address2\n\n";
		 $message .= "City: $city\n\n";
		 $message .= "State: $state\n\n";
		 $message .= "Zip Code: $zip\n\n";
		 $message .= "Phone Number: $phone\n\n";
		 $message .= "Phone (secondary): $phone2\n\n";
		 $message .= "E-mail: $email\n\n";
		  $message .= "Comments: $comments\n\n";

		 $message .= "Insurance Company: $ins_company\n\n";
		 $message .= "Claim Number: $claim\n\n";
		 $message .= "Agent: $agent\n\n";
		 $message .= "Agent Phone: $agent_phone\n\n";
		 $message .= "Adjuster: $adjuster\n\n";
		 $message .= "Adjuster phone: $adjuster_phone\n\n";

		 $message .="Damage to Property:";
		 foreach ($damage as $damage){
		 $message.="$damage;";}

		 $message .="Services Required:";
		 foreach ($services as $services){
		 $message.="$services;";}

Link to comment
https://forums.phpfreaks.com/topic/182053-how-to-make-items-bold/
Share on other sites

It all depends on where the output is going to be outputted ( is that even a word? ) If it's html then

$message.="<b>First Name</b>: ".$first_name."\r\n"; 

if it's plain text like in an e-mail I think you're out of luck. You could do html formatted e-mail though and use the above.

 

Also it's supposed to be \r\n not \n\n  unless you are looking for a double carriage return.  in which case I would use \r\n\r\n   

 

It all depends on where the output is going to be outputted ( is that even a word? )

 

Put conjugation - I would assume 'output' then.

 

If it's html then [...] if it's plain text like in an e-mail I think you're out of luck.

 

Good noting that. I assumed it's going to be HTML

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.