Skip to content

Commit

Permalink
Correction probleme de merge
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasduppi committed Jan 19, 2024
1 parent f763ff1 commit b765e29
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 75 deletions.
19 changes: 0 additions & 19 deletions Code source/IHM_admin.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
<?php
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
// Récupère les données du corps de la requête

$data = json_decode(file_get_contents('php://input'), true);

// Appelle la fonction pour récupérer les données
recupererDonnees($data);

echo json_encode($result);
}

function recupererDonnees($data) {

createTableau($data);
return $data;
}
?>

<!DOCTYPE html>
<html>
<head>
Expand Down
2 changes: 1 addition & 1 deletion Code source/IHM_user.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
<script src="assets/js/user.js"> </script>
<script src="assets/js/locura4iot.js"> </script>
<link rel="stylesheet" href="./assets/style.scss" />
<title>Chasse au trésor : interface utilisateur</title>
</head>
Expand Down
55 changes: 0 additions & 55 deletions Code source/assets/js/user.js

This file was deleted.

0 comments on commit b765e29

Please sign in to comment.