I have the PHP code as below:
<?php
for ($i = 1; $i <= 5; $i++) {
$checked = ($value['2.Capacity'] == $i) ? ' <img src="img/tick.jpg" width="20px" />' : '';
echo '<td>'.$checked.$i.'</td>';
}
I need:
I want to remove the <img src="img/tick.jpg" width="20px" /> to put CSS style Bold + underlined I do not know how to fix this.
Note:
For the $value['2.Capacity'] it's data from database, it integer value 1 2 3 4 5.
Anyone help me please,Thanks.