Guest User

Untitled

a guest
Jul 17th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. $i = 5;
  2. while ($fila = $total->fetch_array()) {
  3. $objPHPExcel->setActiveSheetIndex(0)
  4. ->setCellValue('A'.$i, $fila['gasto'])
  5. ->setCellValue('B'.$i, $fila['lunes'])
  6.  
  7. ->setCellValue('Q'.$i, utf8_encode($fila['factura']));
  8. $i++;
  9. }
Add Comment
Please, Sign In to add comment