Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/07/2013, 15:41
chubse
 
Fecha de Ingreso: marzo-2012
Mensajes: 84
Antigüedad: 12 años, 1 mes
Puntos: 3
Respuesta: Nombre de columnas Phpexcel

Ya solucioné este problema, le agradezco a ocp001a por su ayuda y les dejo la solución:

Código PHP:
$result_6=mysql_query("SELECT FECHA_ASIST FROM ml_dat_ASISTENCIA WHERE ID_GRUPO='".$nombre_gpo."' GROUP BY FECHA_ASIST ORDER BY FECHA_ASIST ASC");
$count6=count($result_6);

    
$rowNumber6 1;
    
$col6 'F';
    while (
$row6 mysql_fetch_row($result_6)) { 
       if(
$rowNumber6==$count6)
       {
             
$rowNumber6 1;
       }

       foreach(
$row6 as $cell6) { 
          
$objPHPExcel->getActiveSheet()->setCellValue($col6.$rowNumber6,$cell6); 
          
$col6++; 
       } 
        
    } 
    
$rowNumber6++;