title: Logged in user name and last name wont show on the navbar
body: <p>I'm a beginner in php and I want the name and last name of the logged in user to show on my navbar. Instead it shows the php code. This is my code inside the navbar. </p>
  
  <pre><code>&lt;?php 
      echo "&lt;p&gt;" . $_SESSION['vorname'] . " " . $_SESSION['nachname'] . "&lt;/p&gt;";
  ?&gt;
  </code></pre>
  
  <p>This is what it shows instead. </p>
  
  <p><a href="https://i.stack.imgur.com/m9Yze.png" rel="nofollow noreferrer">The output on the screen.</a></p>
  
  <p><a href="https://i.stack.imgur.com/GNWqI.png" rel="nofollow noreferrer">I changed the file extension to .php and this is what it outputs now.</a></p>