Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function cargar(){
- $consultas = new Consultas();
- $filas = $consultas->Cargar();
- echo "<table>
- <tr>
- <th>ID</th>
- <th>Descipcion</th>
- <th>Email</th>
- <th>Telefono</th>
- </tr>
- ";
- foreach ($filas as $fila) {
- echo "<tr>";
- echo "<td>".$fila['ID']."</td>";
- echo "<td>".$fila['dproveedor']."</td>";
- echo "<td>".$fila['tel']."</td>";
- echo "<td>".$fila['email']."</td>";
- echo "</tr>";
- }
- echo "</table>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement