Skip to content

Instantly share code, notes, and snippets.

Created September 22, 2012 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/3768130 to your computer and use it in GitHub Desktop.
Save anonymous/3768130 to your computer and use it in GitHub Desktop.
<div id="main">
<?php foreach($programacion->dias as $i => $nombre){ ?>
<div class="todos">
<?=$nombre?>
<table class="listado">
<?php
$listado = $programacion->listar($i);
while($row = mysql_fetch_assoc($listado)){
?>
<tr>
<td>NOMBRE: <?=$row['nombre']?></td>
<td>HORARIO: <?=$row['horario']?></td>
<td>... <?=$row['integrantes']?></td>
<td>.. <?=$row['dia']?></td>
</tr>
<?php } ?>
</table>
</div>
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment