title: Bootstrap glyphicons in php
body: <p>How can i make bootstrap glyphicons work with the database? I mean for example, I wanted to use check mark and the x-mark glyphicons to correspond it with the database data, in the database it has boolean 1 and 0. So if its 1 the corresponding icon should be the check mark if 0 it should be the x-mark:</p>
  
  <p>This is my php code, It used to be yes and no, now my client wants it to be check mark and x-mark</p>
  
  <pre><code>&lt;td&gt; &lt;?php echo $row-&gt;hscard== true ? 'yes':'no';?&gt; &lt;br&gt;&lt;/td&gt;
  &lt;td&gt; &lt;?php echo $row-&gt;tor== true ? 'yes':'no';?&gt;&lt;br&gt;&lt;/td&gt;
  &lt;td&gt; &lt;?php echo $row-&gt;dismissal== true ? 'yes':'no';?&gt;&lt;br&gt;&lt;/td&gt;
  &lt;td&gt; &lt;?php echo $row-&gt;goodmoral== true ? 'yes':'no';?&gt;&lt;br&gt;&lt;/td&gt;
  &lt;td&gt; &lt;?php echo $row-&gt;bcrtfcate== true ? 'yes':'no';?&gt;&lt;br&gt;&lt;/td&gt;
  &lt;td&gt; &lt;?php echo $row-&gt;form137== true ? 'yes':'no';?&gt;  &lt;br&gt;&lt;/td&gt;
  &lt;td&gt; &lt;?php echo $row-&gt;grade_evaluation == true ? 'yes':'no';?&gt;&lt;br&gt;&lt;/td&gt;
  </code></pre>