My problem is as follows. I have a table with several product images, but not all products I have 5 images (total BD columns). what I wanted was to "undo" the html line when the image does not exist. I tried this code
<?php
if (!empty($imagem3)) {
?>
<td class="coluna_foto"><img src="<?php echo $imagem3; ?>" width="75" height="75" ></td>
<?php }else{
return false;
}
?>
The html line is always out of php and so it always stays with the link and therefore when there is no picture it always appears the icon to "say" that there is no photo ... Someone has a suggestion to solve