<thead> <tr> <th>Type</th> <th>Marque</th> <th>Modèle</th> <th>Couleur</th> <th>Immatriculation</th> <th>Propriétaire</th> <th></th> </tr> </thead> <tbody> <?php include_once 'class/Vehicule.class.php'; include_once 'ouverture_bdd.php'; $reponse = $bdd->query('SELECT id FROM vehicule ORDER BY immat'); while ($donnees = $reponse->fetch()) { $vehicule = new Vehicule($donnees['id']); $vehicule->affiche_donnees_ligne(); } $reponse->closeCursor(); ?> </tbody> </table> <!-- jQuery --> <script src="js/jquery.js"></script> <script src="js/bootstrap.min.js"></script> </body> </html>