Choisissez un ou des tables
Choissisez les champs que vous voulez afficher
Puis dans View ajouter au début du code
<table border="1">
<tr>
<th><strong>ID</strong></th>
<th><strong>NOM</strong></th>
etc...
</tr>
...
<tr> <div class="itemscope">
<td><div class="itemprop id_test"><?php echo $line->id_test; ?></div></td> <td><div class="itemprop nom"><?php echo $line->nom->display($line); ?></div></td> etc...
</div>
</tr>
...
<table>
Et voilà vous avez un tableau de données.
Aucun commentaire:
Enregistrer un commentaire