The following errors may appear when using the PHP fputcsv command:
These errors may appear because the first column in the array is ID. Some Microsoft produces, including Excel, have some issues when cell A1 is ID.
fputcsv($fp, array('ID', 'Column2', 'Column3'));
The easy fix for this is to A1 from upper case ID to lower case id.
fputcsv($fp, array('id', 'Column2', 'Column3'));