title: Font Awesome icons not rendering when I use PHP echo?
body: <p>I'm trying to set up a menu list which pulls an array from a mysql query and uses a foreach to echo out each list element.</p>
  
  <p>I'm using <em>font awesome</em>, and for some reason when I place the <code>&lt;i&gt;</code> elements inside of an echo line, the icons do not render. Other icons on the same page are rendering just fine.</p>
  
  <p>I've verified that all of the <code>CSS</code> files are being included properly.</p>
  
  <p>Here is the block of code, you can see that I am generating some icon names using <code>str_replace()</code>, however there are other icons in the echo that are static.</p>
  
  <p>I'm pulling my hair out here.</p>
  
  <pre><code>$result = mysqli_query($con,"SELECT * FROM outageupdates ORDER BY timestamp");
  
  while($row = mysqli_fetch_array($result))
  {
  
     $time = strtotime($row[timestamp]);
     $time = date("H:i", $time);
     $icon = str_replace("Internal", "fa-user", $row[type]);
     $icon = str_replace("External", "fa-user-times", $row[type]);
     echo '&lt;li&gt;&lt;a href="outageupdates.php"&gt;&lt;i class="fa ' . $icon . '"&gt;&lt;/i&gt;' . $row[agentname] . ' - ' . $row[type] . '&lt;small class="pull-right"&gt;&lt;i class="fa fa-clock"&gt;&lt;/i&gt;' . $time . '&lt;/small&gt;&lt;/a&gt;&lt;/li&gt;';
  }
  </code></pre>