I want to show an image in table cell from database. But this code doesn't work
<tbody>
<?php
$i=1;
foreach($item_list as $item){
?>
<tr>
<td><?=$i++; ?></td>
<td><img src="<?= $item->image;?>" alt="Not found"></td>
</tr>
<?php } ?>
</tbody>