Código PHP:
$cons = "SELECT * FROM datos ORDER BY id DESC";
$resul = mysqli_query($enlace,$cons);
while ($fila = mysqli_fetch_array($resul)){
$tel = $fila['tel'];
if ($tel == 'nule'){
echo '<!--div style="padding: 0px;"><img src="'.$fila['telex'].'" width="312" /></div-->';
}
else {
echo '<div class="tesx"><div class="inn">'.$fila['tel'].'</div></div>';
}
Que hago mal?
Gracias