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
Share on other sites

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.