Hi I am exporting my mysql data in excel format currently I have 14k+ records but the problem is it stuck @188kb but when I tried trimming down the result to 100 records it does
This is only a wild guess but you may need to calculate the document size ahead of time and set a "Content-length" header
header("Content-length: " . strlen($document));
You will have to store your output in a string so you can calculate the length (output buffering might help capture your usage of xlsWriteLabel)
ob_start();
xlsBOF();
xlsWriteLabel();
// etc etc
xlsEOF();
$document = ob_get_contents();
ob_end_clean();
header("Content-length: " . strlen($document));
echo $document;
exit();