Skip to content

Instantly share code, notes, and snippets.

@devloe
Forked from anonymous/index.php
Created September 22, 2012 22:58
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 devloe/3768146 to your computer and use it in GitHub Desktop.
Save devloe/3768146 to your computer and use it in GitHub Desktop.
<div id="main">
<?php foreach($programacion->dias as $i => $nombre){ ?>
<?=$nombre?>
<table class="listado">
<tr>
<th>Nombre</th>
<th>Horario</th>
<th>Integrantes</th>
<th>Dia</th>
</tr>
<?php
$listado = $programacion->listar($i);
while($row = mysql_fetch_assoc($listado)){
?>
<tr>
<td><?=$row['nombre']?></td>
<td><?=$row['horario']?></td>
<td><?=$row['integrantes']?></td>
<td><?=$row['dia']?></td>
</tr>
<?php } ?>
</table>
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment