petite modif d'une requete sql

This commit is contained in:
jlb 2004-01-27 10:42:07 +00:00
parent f6de7c5d3b
commit c84ac323f7

View File

@ -61,7 +61,7 @@ if ($result)
}
$sql = "SELECT count(*) as somme , t.libelle FROM llx_adherent as d, llx_adherent_type as t";
$sql .= " WHERE d.fk_adherent_type = t.rowid AND d.statut = 1 AND d.datefin >= ".time()." GROUP BY t.libelle";
$sql .= " WHERE d.fk_adherent_type = t.rowid AND d.statut = 1 AND d.datefin >= now() GROUP BY t.libelle";
$result = $db->query($sql);