test
continuous-integration/drone/push Build is passing Details

ServeurDeTest
nathan boileau 2 years ago
parent 4c69265925
commit 00706f4352

@ -4,13 +4,15 @@ require_once('./Config/Autoload.php');
Autoload::charger();
$db = new Connection();
$db->exec("INSERT INTO Utilisateur VALUES ('e','e','e', false)");
// Print out the entire list of people.
//Insert a new user in the database
$db->exec('INSERT INTO Utilisateur VALUES ("e","e","e", false)');
//Select all users in the database
$res = $db->query('SELECT * FROM Utilisateur');
while ($row = $res->fetchArray(SQLITE3_ASSOC)) {
echo $row['email'] . "\n";
}
// $control = new FrontController();

Loading…
Cancel
Save