$db = MEconDAVDB::Connect();
$hoy = new Date();
$fecha_nuevo = $hoy->format('%Y-%m-%d');
$query = "SELECT Articles.article_id,
IF(Articles.publication_date > '$fecha_nuevo', 'NUEVA', null)
FROM Articles, ArticlePublicationStates
$db = MEconDAVDB::Connect();
$hoy = new Date();
$fecha_nuevo = $hoy->format('%Y-%m-%d');
$query = "SELECT Articles.article_id,
IF(Articles.publication_date > '$fecha_nuevo', 'NUEVA', null)
FROM Articles, ArticlePublicationStates