-
-
Save parzibyte/bda49d763af4985fedced09a80df722e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table class="table"> | |
<thead> | |
<tr> | |
<th>ID</th> | |
<th>Nombre</th> | |
<th>Descripción</th> | |
<th>Editar</th> | |
<th>Eliminar</th> | |
</tr> | |
</thead> | |
<tbody> | |
<?php | |
foreach ($videojuegos as $videojuego) { ?> | |
<tr> | |
<td><?php echo $videojuego["id"] ?></td> | |
<td><?php echo $videojuego["nombre"] ?></td> | |
<td><?php echo $videojuego["descripcion"] ?></td> | |
<td> | |
<a href="editar.php?id=<?php echo $videojuego["id"] ?>">Editar</a> | |
</td> | |
<td> | |
<a href="eliminar.php?id=<?php echo $videojuego["id"] ?>">Eliminar</a> | |
</td> | |
</tr> | |
<?php } ?> | |
</tbody> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment