En primera, como te dije en el post anterior tienes que separar los procesos...
Código PHP:
Ver originalecho '<tr>';
header( "Content-type: image/jpeg"); echo "<td width=80px><img src=\"ver_foto.php?id=".$columna['id']."\" /></td><td>";
echo "<p class='misubtitulo'>".htmlentities($columna['titulo'])."</p>"; echo "<p class='mifechasubtitulo'>".$columna['fecha']."</p>";
echo "<p class='noticontenido'>".htmlentities($columna['contenido'])."</p>"; echo '</td>';
echo '</tr>';
}
ver_foto.php
Código PHP:
Ver original<?php
$query = "SELECT * FROM Noticias WHERE id = ".$_GET['id'];
header( "Content-type: image/jpeg");