title: HTML and PHP syntax
body: <p>I again I am lost in syntax. I get caught up in it all and cant see the trees for the forest.</p>
  
  <p>Anyone able to help me with the correct syntax here? I have been trial and erroring for hours. Below is an excerpt from a PHP function. I am tring to have it only display the delete icon if a user is logged in.</p>
  
  <pre><code>&lt;td&gt;' .  if (isset($_SESSION['username'])) { .' &lt;td&gt;&lt;a 
  href="/inc/delete.php?vid='. $row[0]; .'"&gt;&lt;i class='material-icons red-
  text'&gt;delete&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;.' } '. &lt;/td&gt;
  </code></pre>