require('../conexion.php');
$ssql = "SELECT * FROM noticias where id = '".$_GET["id"]."'";
$rs = mysql_query($ssql);
$row = mysql_fetch_array($rs);
$fecha_num = strtotime($row["date"]);
$fecha=getdate($fecha_num);
$fecha=$fecha["mday"] .'/'.$fecha["mon"] .'/'. substr($fecha["year"],2,2);
?>
echo $row["tituloeng"];?>
echo $fecha;?>
">" alt=""/>
|
echo $row["descripcioneng"];
?>
|
if ($row["enlace"] != ""){
$inicio = substr($row["enlace"], 0, 7);
if ($inicio == "http://"){
$enlace = $row["enlace"];
}else{
$enlace = "http://".$row["enlace"];
}
?>
enlace
} end ?>
|