diff --git a/htdocs/connection/connection.php b/htdocs/connection/connection.php
index 340faef3b5e574edbe063b561d356446238c9d7c..6d4e614c36c05393a0bdf68690d568a18dda5e5a 100644
--- a/htdocs/connection/connection.php
+++ b/htdocs/connection/connection.php
@@ -37,6 +37,7 @@ include("/opt/lampp/htdocs/pima/head.php");
                                 $_SESSION['currentFirstname'] = $firstname;
                                 $_SESSION['currentMail'] = $mail;
                                 $_SESSION['currentType'] = $user->getType();
+                                $_SESSION['currentRequest'] = $user->getRequest();
                             }
                         }
 
diff --git a/htdocs/match_script.php b/htdocs/match_script.php
index 2cdfb98a37ba097b7aa1e911288312406cc71168..82d0d42d2217dc160671f2aa890af8c13647dd83 100644
--- a/htdocs/match_script.php
+++ b/htdocs/match_script.php
@@ -45,12 +45,24 @@ function match_script($student, $userRepository){
     #}
 }
 
-function print_requests($userRepository){
-    $requests = $userRepository->getRequest();
+function print_requests($requests){
+
+    $noRequest = true;
 
     foreach($requests as $r){
-        $m = "test ";
-        echo "$m ";
+        $subject = $r->subject;
+        $student = $r->student;
+        $dispo = $r->dispo;
+        $accepted = $r->accepted;
+
+        if (!$accepted){
+            echo "<p>Vous avez une demande de $student pour un cours de $subject le $dispo</p>";
+            $noRequest = false;
+        }
+    }
+
+    if ($noRequest){
+        echo "<p>Vous n'avez aucune demande</p>";
     }
 }
 
diff --git a/htdocs/requests/requests.php b/htdocs/requests/requests.php
index e0b687597d2235b483c1657bda74f59df2cacedb..e5f4130cd02370ab25dc651b9c0f16cd9ae271db 100644
--- a/htdocs/requests/requests.php
+++ b/htdocs/requests/requests.php
@@ -15,7 +15,9 @@ include("/opt/lampp/htdocs/pima/head.php");
                 </header>
 
                 <p>
-                    <php print_requests($userRepository); ?>
+                    <?php
+                    $r = $_SESSION['currentRequest'];
+                    print_requests($r); ?>
                 </p>
             </article>
         </div>