Advertisement
Guest User

Untitled

a guest
Apr 28th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. <?php
  2. function cargar(){
  3. $consultas = new Consultas();
  4. $filas = $consultas->Cargar();
  5.  
  6. echo "<table>
  7. <tr>
  8. <th>ID</th>
  9. <th>Descipcion</th>
  10. <th>Email</th>
  11. <th>Telefono</th>
  12. </tr>
  13. ";
  14.  
  15. foreach ($filas as $fila) {
  16. echo "<tr>";
  17. echo "<td>".$fila['ID']."</td>";
  18. echo "<td>".$fila['dproveedor']."</td>";
  19. echo "<td>".$fila['tel']."</td>";
  20. echo "<td>".$fila['email']."</td>";
  21. echo "</tr>";
  22. }
  23. echo "</table>";
  24. }
  25. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement