<?php
   $sorgu = $baglanti->query("SELECT * FROM Kullanici"); //Sorgu cümlesi

   while ($gelenVeri = $sorgu->fetch_assoc()) {
       $id = $gelenVeri['Id'];
       $isim = $gelenVeri['Isim'];
       $dosya = $gelenVeri['exceldosya'];
   ?>

   <tr>
       <th scope="row"><?php echo $id; ?></th>
       <td><?php echo $isim; ?></td>
       <td><?php echo $dosya; ?></td>
   </tr>
<?php } ?>
Bu şekilde basit bir kod ile halledebilirsiniz. Sorgu cümlesinde bulunan baglanti değişkeni farklı bir dosyadan include edilmiştir.
Ek olarak excel görüntüleme kütüphanesi için: https://code.google.com/archive/p/ph...mentation.wiki