From e76e66dc49f24695c02ea8f583d6fb0f908c6722 Mon Sep 17 00:00:00 2001 From: cortylal <alexcortyl@gmail.com> Date: Thu, 19 Jun 2014 01:15:08 +0200 Subject: [PATCH] stats --- view/stats.php | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/view/stats.php b/view/stats.php index e0b62c7..f4a400e 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 -- GitLab