diff --git a/view/stats.php b/view/stats.php index e0b62c75d402a276ae55315b8d6730c79903f74b..f4a400ea766f5b5549bc7a3bf7ee8f9e7e0408ab 100644 --- a/view/stats.php +++ b/view/stats.php @@ -19,21 +19,8 @@ <table class="table"> <caption> <th> Top 3 des plus gros client : </th> </caption> - - <tr> - <th>Nom</th> - <th>Prenom</th> - <th>Total des dépenses</th> - </tr> - <tr> - <td>Carmen</td> - <td>33 ans</td> - <td>Espagne</td> - </tr> - <tr> - <td>Michelle</td> - <td>26 ans</td> - <td>États-Unis</td> - </tr> + <thead> + <th><?php print_r($stats->top3Client()); ?></th> + </thead> </table> </div> \ No newline at end of file