prepare('SELECT g.nom AS group_name, u.prenom, u.nom, r.fait, r.afaire, r.date FROM reports AS r JOIN groups AS g JOIN users AS u WHERE r.group_id = g.id AND r.user_id = u.id AND week = :page'); $sql->execute(array('page' => $page)); while ($result = $sql->fetch()) { echo ''; } ?>
Projet Nom et Prénom Ce que tu as fait Ce que tu va faire Date du rapport
'. $result['group_name'] .' '. $result['prenom'] .' '. $result['nom'] .' '. stripslashes($result['fait']) .' '. stripslashes($result['afaire']) .' '. $result['date'] .'