title: how to write echo code
body: <p>I'm trying to get awsome font icon from myself, by retrieve from MySQL database, in the database query, I put echo with table, like this...</p>
  
  <pre><code>$sql = "SELECT * FROM boxes where categories = 'box' ";
              $result = $conn-&gt;query($sql);
              if ($result-&gt;num_rows &gt; 0) {
                  while ($row = $result-&gt;fetch_assoc()) {
                      if ($row['status'] == 1)
                          $visible = "visible";
                      else
                          $visible = "hidden";
  
                      if ($row['side'] == 1)
                          $side = "right";
                      else if ($row['side'] == 2)
                          $side = "left";
                      else $side = "not set yet";
  
                      echo " &lt;tr&gt; 
                    &lt;td&gt;" . $row['id_boxe'] . "&lt;/td&gt;
                    &lt;td&gt;" . $row['title_boxe'] . "&lt;/td&gt;
                    &lt;td&gt;" . $visible . "&lt;/td&gt;
                    &lt;td&gt;" . $visible . "&lt;/td&gt;
                    &lt;td&gt;" . $side . "&lt;/td&gt;
                    &lt;td&gt; " '&lt;i class = "fa '.$row['icon'].' " &gt;&lt;/i&gt;'"  &lt;/td&gt;
                    &lt;td&gt;&lt;form method='post'&gt;&lt;input type='hidden' name='id' value='" . $row['id_boxe'] . "'/&gt;
                    &lt;input type='submit' name='update' value='Update'/&gt;&lt;input type='submit' name='delete' value='Delete'/&gt;&lt;/form&gt;&lt;/td&gt;
                   &lt;/tr&gt; ";
                  }
              }
              ?&gt;
          &lt;/tbody&gt;
  </code></pre>
  
  <p>please see the code where it said </p>
  
  <pre><code>&lt;td&gt; " '&lt;i class = "fa '.$row['icon'].' " &gt;&lt;/i&gt;'"  &lt;/td&gt;
  </code></pre>
  
  <p>I'm trying to put icon column name inside of class but I'm getting the error in the code, my question is that how can I write correct code to show the icon inside of class!</p>
  
  <p>aM </p>