enclose CSV headings in quotation marks to avoid the first 2 chars of the file being "ID", which microsoft chokes on see:

http://support.microsoft.com/kb/q215591/
This commit is contained in:
james 2005-03-29 21:33:59 +00:00
parent 584e7fe8f1
commit 09918861fc
2 changed files with 5 additions and 1 deletions

4
TODO
View File

@ -1,2 +1,6 @@
- Make auto-logout on email address change work properly on the FIRST submit, not on first action after the submit
- same for judges changing email address
- Judges CSV contain categories and sub-categories info
- Judge 'info' button on judge teams page to view allt he judge info
-

View File

@ -55,7 +55,7 @@ class lcsv
for($c=0;$c<$table_cols;$c++)
{
$head=$table['header'][$c];
$this->csvdata.=$head;
$this->csvdata.="\"".$head."\"";
if($c<$table_cols-1)
$this->csvdata.=$this->separator();
}