Ver Mensaje Individual
  #8 (permalink)  
Antiguo 30/10/2013, 20:18
drummerick7
 
Fecha de Ingreso: marzo-2013
Mensajes: 72
Antigüedad: 11 años, 1 mes
Puntos: 0
Respuesta: Sacar registros de una consulta

Si, mira lei algunos tutoriales y mira lo que hice pero sigue mostrando los primeros registros

Código PHP:
Ver original
  1. <?php do { ?>
  2.                             <?php if ($row_asistot['annio']==2013 && $row_asistot['fecha']=='2013-01-13')
  3.                                 echo $row_asistot['num_total'];
  4.                             if($row_asistot['annio']==2012 && $row_asistot_2011_tlx['fecha']=='2012-01-08')
  5.                                 echo $row_asistot['num_total'];
  6.                             if($row_asistot['annio']==2011 && $row_asistot['fecha']=='2011-01-09')
  7.                                 echo $row_asistot['num_total'];?>
  8.                            <?php } while ($row_asistot = mysql_fetch_assoc($asistot)); ?>

pero ya no se que mas hacerle