-3

Is there some kind of short code for the output of a variable to be bold?

$message = "Algemene informatie";
$message .= "Volledige naam : ".$_POST['volledigenaam'];

The first one, Algemene informatie, needs to be bold, but it only displays text, not HTML.

TylerH
  • 20,799
  • 66
  • 75
  • 101
  • 1
    No it is not. PHP is a programming language. You need HTML/CSS. – etalon11 Jan 29 '16 at 12:38
  • 1
    php doesn't apply visual effects, you're looking for css, or, if needed be, you could do ` ....TEXT HERE....` or ` ....TEXT HERE....` which is html. – Epodax Jan 29 '16 at 12:38

1 Answers1

1

Try this

$message = "<strong>Algemene informatie</strong>"; 
$message .= "Volledige naam : ".$_POST['volledigenaam'];
Kiritkumar
  • 476
  • 2
  • 12