![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
Código PHP:
$dbh = EstablecerConexion();
function SqlNoticia1(){
$SQL="SELECT CodNotic,TitNotic,ResumnNotic,DesNotic,DATE_FORMAT(FecNotic,'%d/%m/%Y') as Fecha, DATE_FORMAT(FecNotic,'%H:%i %p') as Hora, DATE_FORMAT(FecSistem,'%H:%i %p') as HoraSistem FROM notic ";
$SQL .= " Where notic.Tipo=0 ".cWhereFecha;
return $SQL;
}
mysql_close();