Hola, así me muestra los registros, pero si no hay imagen el else no funciona
Código PHP:
<?php
if ($registro['imagen4']==True) {
echo '<a href="images/' . $registro['imagen4'] . '" target="_blank" border="0" ><img src="images/' . $registro['imagen4'] . '" width="197" height="148" border="0" /></a>';
} else {
echo '<img src="images/ni.jpg" width="197" height="148" border="0" />';
}
?>