Converting an html table to excel with SpreadSheet but displaying-hiding the data inside the excel file cause of the small default cells
问题 Everything works great my html table can succesfully converte to excel. But here is the issue. Code: $spreadsheet = new Spreadsheet(); $sheet = $spreadsheet->getActiveSheet(); $sheet->setCellValue('A1', 'Projects First Year'); $sheet->setCellValue('B1', 'Grades'); $sheet->setCellValue('A2', 'PHP Project 2020'); $sheet->setCellValue('B2', $_SESSION['phpScore']); As you can see from the example above i am saying that place the 'Projects First Year' in the cell A1, place the Grades to the cell