Created
December 26, 2019 02:12
-
-
Save parzibyte/8d7f139ab0d8587c710e86aa0a945e60 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
<?php | |
$mascotas = ["Maggie", "Guayaba", "Meca", "Panqué"]; | |
?> | |
<head> | |
<link rel="stylesheet" href="./bootstrap.min.css"> | |
</head> | |
<h1>Mis mascotas</h1> | |
<table class="table table-bordered"> | |
<thead> | |
<tr> | |
<th>Nombre</th> | |
</tr> | |
</thead> | |
<tbody> | |
<?php foreach ($mascotas as $mascota) {?> | |
<tr> | |
<td><?php echo $mascota; ?></td> | |
</tr> | |
<?php }?> | |
</tbody> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment