-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMedecinA.php
33 lines (33 loc) · 1.21 KB
/
MedecinA.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<div class="Boites">
<div class="SousBoites">
<h3>Discussion avec les Patients</h3>
<?php include 'queryMedecin.php' ?>
<?php $result2 = getUsers(); ?>
<table class="table">
<thead>
<tr>
<td>Prénom</td>
<td>Nom</td>
<td>Action</td>
</tr>
</thead>
<tbody>
<?php $tempP=$_SESSION["Prenom"];?>
<?php foreach ($result2 as $res) : ?>
<tr>
<td><?php echo ($res["Prenom"]); ?></td>
<td><?php echo ($res["Nom"]); ?></td>
<?php
$tempID=$res["ID"];
$id = $_SESSION["ID"];
?>
<td>
<button id="button" type="button" data-toggle="modal" data-target=<?php echo('"#staticBackdrop'.$res["ID"] .'"') ?>>Communiquez avec le Patient</button>
<?php include 'chat.php';?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>