Skip to content
Snippets Groups Projects
Commit b29fa598 authored by DEGBEY SCOTT's avatar DEGBEY SCOTT
Browse files

Replace gameServer.php

parent 05948329
Branches
Tags
No related merge requests found
<?php
require_once __DIR__ . '/../db/Database.php';
// utiliser le fichier Database.php pour charger les trois premiers jeux dans la base de données et les retourner en JSON. (2 points)
require_once __DIR__ . '/../db/Database.php';
$db = new Database();
$result = $db->getGames();
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