Este es el codigo de esa página:
(lee_noticia.php)
Código:
<?php
include("conexion_db.php");
$query = mysql_query("SELECT * FROM noticias WHERE id LIKE '$id'");
$resp = mysql_query($sql);
while ($row = mysql_fetch_array($query)){
setlocale (LC_TIME,"spanish");
$diaes=$row[fecha];
$diaes=strftime ("%d de %B de %Y",strtotime($diaes));
echo "
<img src='img/noticias/$row[fecha].jpg'>
<table width='100%' border='0' cellspacing='2' cellpadding='2' class='tabla_noticias'>
<tr><td>
<p align=center> <font color=#000099 size=3 face=verdana><strong>$row[titulo]</strong><br>
<font size=2>($diaes)</font></font></p>
<p align=justify>".nl2br($row[intro])." <hr color='#BACEDB'> ".nl2br($row[texto])."</p>
<font size=2><hr>$row[fuente]</font>
</td></tr>
</table>
";
}
mysql_close($link);
?>