Return an array and refresh page after exit in phpspreadsheet
I want to refresh a php page with a result array and download the excel in phpspreadsheet and show the page based on the result array.I have removed exit from php code after download.. But its resulting a format error in excel report.