<?php require_once "../scripts/base_connexion.php"; require_once "../scripts/traitement.php"; require_once "../scripts/requetes.php"; print_r($_POST); $data = ["*", "tout", "2"]; $tutoriels = selectionneTutorielsService($base, $data); while ($tutoriel = $tutoriels->fetch()) { print_r($tutoriel); }
</select> </td> </tr> </table> </form> <?php } else { ?> <?php require_once "../scripts/base_connexion.php"; require_once "../scripts/traitement.php"; require_once "../scripts/requetes.php"; $tuto_service = $_POST['tuto_service']; $tuto_status = $_POST['tuto_status']; $tutoriels = selectionneTutorielsService($tuto_service, $tuto_status, $base); echo "<div>\n\t\t\t\t<table border='2' style='width:100%; height:100%;'>\n\t\t\t\t\t<caption>Hostorique des tutoriels</caption>\n\t\t\t\t\t<thead>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>Entete</th>\n\t\t\t\t\t\t\t<th>Contenu</th>\n\t\t\t\t\t\t\t<th>Service</th>\n\t\t\t\t\t\t\t<th>Date d'envoie</th>\n\t\t\t\t\t\t\t<th>Auteur</th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</thead>\n\t\t\t\t\t<tbody>\n\t\t\t\t"; while ($tutoriel = $tutoriels->fetch()) { ?> <tr> <td><?php echo $tutoriel['tutoriel_entete']; ?> </td> <td><?php echo $tutoriel['tutoriel_contenu']; ?> </td> <td><?php echo $tutoriel['service_titre']; ?>