Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/03/2016, 15:22
drummerick7
 
Fecha de Ingreso: marzo-2013
Mensajes: 72
Antigüedad: 11 años, 1 mes
Puntos: 0
if no hace condición

Pues tengo esta tabla y quiero que aparezcan con la condición, solo me aparece en la segunda opción y todas, no por serie, ayuda



Código HTML:
Ver original
  1. <?php do { ?>
  2.  
  3. <img class="serie-preview" srcset="<?php echo $row_series_d['foto_serie']; ?>" border="0">
  4.           <div class="serie-title">
  5.             <h2><?php echo $row_series_d['titulo_serie']; ?></h2>
  6.             <h3><?php echo $row_series_d['fecha_serie']; ?></h3>
  7.           </div>
  8.  
  9.  
  10.  <table class="table table-striped table-hover table-condensed">
  11.                     <thead>
  12.                       <tr>
  13.                         <th>Tema</th>
  14.                         <th>fecha</th>
  15.                         <th>Predicador</th>
  16.                         <!--<th class="text-center">Video</th>-->
  17.                         <th class="text-center">Audio</th>
  18.                         <th class="text-center">PDF</th>
  19.                       </tr>
  20.                     </thead>
  21.                    
  22.                    
  23.                       <tbody>
  24. <?php if($row_series_d['idseries'] == $row_datos_men['series_idseries']): ?>
  25. <?php do { ?>
  26. <tr>                 
  27. <td><?php echo $row_datos_men['tema']; ?></td>
  28. <td><?php echo $row_datos_men['fecha']; ?></td>
  29. </tr>
  30. <?php } while ($row_datos_men = mysql_fetch_assoc($datos_men)); ?>
  31. <?php endif;?>
  32.  
  33.  
  34.  
  35. <?php } while ($row_datos_predicas = mysql_fetch_assoc($datos_predicas)); ?>