When doing merge cells and applying style in loop script is giving fatal error mentioned below.
Fatal error: Maximum execution time of 30 seconds exceeded in D:\xampp\htdocs\bookings\vendor\phpoffice\phpexcel\Classes\PHPExcel\Cell.php on line 892
NOTE: but if we use it out side the loop it works fine, My code which i use to apply style and merge the cell is as below.
$range = chr($alpha).'1:'.chr($alpha+1).'1';
$spreadsheetWriter->mergeCell($range);
$spreadsheetWriter->setCellStyle($range);
What is wrong here, or is there any way which i can use to handle fatal error.
Thanks Amit