$Reassort->findReaStat(); echo '<tr>'; echo '<td>' . $value['heure'] . '</td>'; echo '<td>' . $value['prix'] . '</td>'; echo '<td class="' . $value['code'] . '">' . substr($value['code'], 0, 17) . '</td>'; echo '<td>' . $value['titre'] . '</td>'; echo '<td>' . $value['auteur'] . '</td>'; echo '<td>' . $value['editeur'] . '</td>'; echo '<td>' . $value['edition'] . '</td>'; echo '</tr>'; echo '<script>$(".' . $value['code'] . '").barcode("' . $value['code'] . '", "code128", {barWidth:1, barHeight:15})</script>'; } echo ' </tbody> </table>'; $rows = $Reassort->getNoReaList(); echo '<h4 class="margin-top-1">Non Réassortis</h4>'; echo ' <table class="table table-striped table-bordered very-small-text"> <thead> <tr> <th>Heure</th> <th>Prix</th> <th>EAN / ISBN</th> <th>Titre</th> <th>Auteur</th> <th>Editeur</th> </tr> </thead> <tbody>'; foreach ($rows as $key => $value) {