= ".$_REQUEST["Age1"].") and (year(date('y-m-j h:i:s') ) - year(Personnes.DDN) <= ".$_REQUEST["Age2"].") ) and "; } if ( (!empty($_REQUEST["Age1"])) && (empty($_REQUEST["Age2"])) ) { $sSQL = $sSQL."( year(date('y-m-j h:i:s') ) - year(Personnes.DDN) = ".$_REQUEST["Age1"]." ) and "; } */ $SQL = "SELECT * FROM personnes INNER JOIN employes ON personnes.CodeM = employes.CodeM where ".substr($sSQL, 0, strlen($sSQL) - 4)." "; header("Content-type: application/x-msdownload"); header("Content-Disposition: attachment; filename=Employes.xls"); ?>
Nom Prénom Sexe DDN Adresse Region Ville Province Code Postal Téléphone.Maison Téléphone.Bureau Téléphone.Urgence Cellulaire Paget Email NoteG DateExp Note Sante Profession Situation F Judiciaires Niveau Scolarite Nom Contact Prenom Contact Tel Contact NAS Ass.Maladie Date d'expiration Père: Nom Père: Prénom Mère: Nom Mère: Prénom Note moins de 18 Nom releve24 Prenom releve24 NAS R24 Statut Poste Champs d’intérêt: Compétence Secteurs Horaire date d'entrée date de modification