Remove image and use CSS instead for data from database using PHP
<p>I have the PHP code as below:</p>

<pre><code> &lt;?php 
                for ($i = 1; $i &lt;= 5; $i++) {
                $checked = ($value['2.Capacity'] == $i) ? ' &lt;img src="img/tick.jpg" width="20px" /&gt;' : '';
                echo  '&lt;td&gt;'.$checked.$i.'&lt;/td&gt;';
                }
</code></pre>

<p><strong>I need:</strong></p>

<p>I want to remove the <code>&lt;img src="img/tick.jpg" width="20px" /&gt;</code> to put CSS style <code>Bold + underlined</code> I do not know how to fix this.</p>

<p><strong>Note:</strong></p>

<p>For the <code>$value['2.Capacity']</code> it's data from database, it integer value <code>1 2 3 4 5</code>.</p>

<p>Anyone help me please,Thanks.</p>
