Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $i = 5;
- while ($fila = $total->fetch_array()) {
- $objPHPExcel->setActiveSheetIndex(0)
- ->setCellValue('A'.$i, $fila['gasto'])
- ->setCellValue('B'.$i, $fila['lunes'])
- ->setCellValue('Q'.$i, utf8_encode($fila['factura']));
- $i++;
- }
Add Comment
Please, Sign In to add comment