<th data-field="titulo">Titulo</th> <th data-field="name">Propietario de la Imagen</th> <th data-field="price"></th> <th data-field="price"></th> </tr> </thead> <tbody> <?php include_once "models/Datasource.php"; include_once "models/BannerDao.php"; include_once "models/Banner.php"; include_once "models/Variables.php"; $conn = new Datasource($dbhost, $dbName, $dbUser, $dbPassword); $bnndao = new BannerDao(); $banner = $bnndao->loadAll($conn); for ($i = 0; $i < count($banner); $i++) { ?> <tr class=""> <td class=""><img width="50" class="materialboxed" src="<?php echo $banner[$i]->getRuta(); ?> "></td> <td><b><?php echo $banner[$i]->getTitulo(); ?> </b></td> <td><?php echo $banner[$i]->getPropietario(); ?> </td>