Jump to content

Bold text in php


nico_icecold

Recommended Posts

Hi all,

 

I have setup a simple email function for a form I have and just wondering if tehre is anyway to make the text that comes out to my email bold. See below:

 

$form_information ="Hello, \n\n\r '<strong>'You have received the following parent nomination:'</strong>'\n\n\r Name: $fullname \n Nominees name: $name_of_nominee \n Age:$age \n Number of biological dependants: $bio_dependants \n Number of non-biological dependants: $nonbio_dependants\nAge of biological dependants: $bio_dep_age \n Age of non-biological dependants: $nonbio_dep_age \n Household income: $income \n Number of adults in house: $adults_living \n\n\r Reason for nomination: \n $reason_nomination \n\n\r Is the nominee in or looking to step back into the education system?  $education \n\n\r Details of current or planning education: \n $education_details \n\n\r Is the nominee in or looking to step back into employment?  $employment \n\n\r Employment details:\n $employment_details \n\n\r Contact details:\n\n Email address: $email_address \nContact telephone number: \n $telephone \n Nominee contact number: $telephone_nominee \n Nominee email: $email_nominee";

 

That sends my info to me and allows me have new lines etc but i cant seem to use strong or bold html tags in.

 

Any ideas?

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/138037-bold-text-in-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.