= ".$_REQUEST["Age1"]." ) and (year(date('y-m-j h:i:s')) - year(activites.DDN) <= ".$_REQUEST["Age2"].") ) and "; } /* if ( (!empty($_REQUEST["Age1"])) && (empty($_REQUEST["Age2"])) ) { $sSQL = $sSQL."( year(date('y-m-j h:i:s') ) - year(activites.DDN) = ".$_REQUEST["Age1"]." ) and "; } */ $SQL = " from activites where ".substr($sSQL, 0, strlen($sSQL) - 4)." "; header("Content-type: application/x-msdownload"); header("Content-Disposition: attachment; filename=Activites.xls"); ?>
Nom | Description | Statut | Type | Prealable | Responsable | Responsable Adjoint | Groupe | Cout | Tx | NoteG | Relve24 | Date de création | Min | Max | Total |