<?
include ("../includes/config.php");
include ("../includes/funciones.php");
$cnx = conectar ();
$sql = "SELECT * FROM ".$tabla." WHERE id=".$_GET['id'];
$res= mysql_query($sql) or die (mysql_error());
$array_res=mysql_fetch_array ($res);
$numeroRegistros=mysql_num_rows($res);
if($numeroRegistros<=0){
echo "Lo sentimos, pero esta noticia ya no existe";
$res="";
exit;
}else{
$titulo = $array_res['titulo'];
$texto = $array_res['texto'];
$url = $array_res['url'];
$textodeurl = $array_res['textodeurl'];
$ruta = $array_res['video'];
$videoftp = $array_res['videoFtp'];
$anchoftp = $array_res['anchoVideoftp'];
$altoftp = $array_res['altoVideoftp'];
mysql_close($cnx);
}
?>