Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 26, 2019 02:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/8d7f139ab0d8587c710e86aa0a945e60 to your computer and use it in GitHub Desktop.
Save parzibyte/8d7f139ab0d8587c710e86aa0a945e60 to your computer and use it in GitHub Desktop.
<?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