Commit db299432 authored by BenC's avatar BenC
Browse files

Pour mailer les pilotes potentiels

parent b765ab69
$topdir = "../";
require_once($topdir . "include/");
require_once ("../include/");
require_once ("../include/");
$req = new requete (new mysqlae(),
"SELECT utilisateurs.id_utilisateur,
CONCAT(nom_utl," ",prenom_utl) as nom,
FROM utilisateurs
INNER JOIN utl_extra on utilisateurs.id_utilisateur = utl_extra.id_utilisateur
WHERE (datediff(NOW(),date_naissance_utl))/365 >= '21'
AND ae_utl='1'
AND utbm_utl='1'
AND etudiant_utl='1'
AND permis_conduire_utl='1'
ORDER BY id_utilisateur");
while($res = $req->get_row())
echo $res['nom'] . " &lt;" . $res['email_utl'] . "&gt;<br />";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment