<?php include '../model/get.php'; $req = PanelGetAds(12); echo '<table class="table table-striped"> <tr> <td>Titre</td> <td>Description</td> <td>Price</td> <td>Action</td> </tr>'; while ($data = $req->fetch()) { echo '<tr> <td>', $data['title'], '</td> <td><?php echo $array_ads[3]?></td> <td><?php echo $array_ads[2]?> OXF</td> <td><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> <span class="glyphicon glyphicon-trash" aria-hidden="true"></span> </td> </tr> </table>'; }
<?php include 'lib/includes/header.php'; include 'lib/includes/navbar.php'; include 'model/get.php'; ?> <?php $req = PanelGetAds($_SESSION['id']); ?> <div class="banner"> <img src="assets/img/banner_account.png" /> </div> <div class="container"> <h1 align="center">Administration</h1> <div class="row"> <div class="col-md-9"> <h3>Mes Annonces Actives</h3> <table class="table table-striped"> <tr> <td>Titre</td> <td>Description</td> <td>Price</td> <td>Action</td> </tr> <?php while ($data = $req->fetch()) { echo ' <tr>