develop dans master - première version stable #9

Merged
nmorin merged 80 commits from develop into master 2022-09-03 22:11:29 +02:00
Showing only changes of commit 749fcae0c4 - Show all commits
+1 -23
View File
@@ -1,25 +1,3 @@
<?php <?php
echo "<p>Coucou</p>"; header('Location: /pages/formulaire_accueil.php');
$db = new PDO("sqlite:/etc/postfix/postfix.sqlite");
$db -> setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
try {
$res = $db -> query('SELECT * FROM postfix_alias_vitruels;');
print '<table>';
foreach ($res as $row) {
print '<tr><td>' . $row['courriel'] . '</td><td>' . $row['destination'] . '</td></tr>';
}
print '</table>';
}
catch(PDOException $e) {
print ("exception " . $e->getMessage());
}
?> ?>