Ver Mensaje Individual
  #3  
Antiguo 08-04-2009
Avatar de julyus
julyus julyus is offline
Miembro
 
Registrado: jul 2006
Ubicación: IN TO PLACES COLOMBIA AND EE.UU
Posts: 121
Reputación: 20
julyus Va por buen camino
ya encontre el error

ahora me pregunto por qsue se imprime de lado y no hacia abajo el error eran los dos puntos del for ():

Código PHP:
 <table width="650">
 <tr>
  <th class="td_qty">Mnoth</th>
  <th class="td_qty">Nnumber</th>
  <th>Percentage</th>
 </tr>
    <?php 
    
for ($i=0$i<count($res2);$i++): ?> 
      <td><?php echo $res2[0][0]['CREATDATE']; ?></td>
      <td><?php echo $res2[0][0]['CANTIDAD']; ?></td>
      <td><?php echo $res2[0][0]['percentage']; ?></td>
   <?php endfor; ?>
   <tr class="topbdr">
  <td colspan="2" style="text-align: right"><strong>Total : </strong></td>
  <td><strong><?php echo $total ?></strong></td>
 </tr>
   </table>

Última edición por dec fecha: 08-04-2009 a las 19:25:05. Razón: Poner las etiquetas PHP
Responder Con Cita