Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html lang="en-US">
- <head>
- <title>Liste des utilisateurs</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
- </head>
- <body>
- <div class="container">
- <h2>Liste des annonces</h2>
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>ID</th>
- <th>Ville</th>
- <th>Categorie</th>
- <th>Titre</th>
- <th>Contenu</th>
- </tr>
- </thead>
- <tbody>
- <?php foreach($donnees as $ligne):?>
- <tr>
- <td><?php echo $ligne['id']?></td>
- <td><?php echo $ligne['ville']?></td>
- <td><?php echo $ligne['categorie']?></td>
- <td><?php echo $ligne['titre']?></td>
- <td><?php echo $ligne['contenu']?></td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement