Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/02/2013, 18:53
Avatar de Briss
Briss
 
Fecha de Ingreso: junio-2011
Mensajes: 1.293
Antigüedad: 12 años, 10 meses
Puntos: 12
Agrupar columnas de tabla

Hola a todos estoy haciendo una tabla para mostrar las asignaturas dadas en cada semestre

Código PHP:
<table border="0" class="normal">
  <thead>
    <tr>
      
      <td>Clave</td>
       <td>Nombre</td>
      <td>Semestre</td>
      
    </tr></thead>
  <?php do { ?>
    <tbody>
      <tr>
     
     <td  ><?php echo $row ['claveasignatura']; ?></div></td>
     <td ><?php echo $row ['nombre']; ?></div></td>
        <td ><?php echo $row ['semestre']; ?></div></td>

      </tr></tbody>
    <?php } while ($rowmysql_fetch_assoc($row)); ?>
</table>
Pero es muy repetitivo me gustaria agruparlas por semestre algo asi
http://imagenes.terra-gaming.com/vis...2083868884.png

Gracias