need a return from $objWriter->save('php://output');

Topics: Developer Forum
Dec 13, 2013 at 7:50 AM
Edited Dec 13, 2013 at 7:54 AM
I like to verify the excel save method is successfully executed. I checked that there is no documentation about its return type so please guide
goal: I like to produce an excel which consist of invalid data to intimate the user while on that time our client requested us to show an information that error data has been generated as excel in a div tag for few seconds if excel is generated or else successfully uploaded excel