forked from science-ation/science-ation
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:
parent
584e7fe8f1
commit
09918861fc
4
TODO
4
TODO
@ -1,2 +1,6 @@
|
|||||||
- Make auto-logout on email address change work properly on the FIRST submit, not on first action after the submit
|
- 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
|
- 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
|
||||||
|
-
|
||||||
|
2
lcsv.php
2
lcsv.php
@ -55,7 +55,7 @@ class lcsv
|
|||||||
for($c=0;$c<$table_cols;$c++)
|
for($c=0;$c<$table_cols;$c++)
|
||||||
{
|
{
|
||||||
$head=$table['header'][$c];
|
$head=$table['header'][$c];
|
||||||
$this->csvdata.=$head;
|
$this->csvdata.="\"".$head."\"";
|
||||||
if($c<$table_cols-1)
|
if($c<$table_cols-1)
|
||||||
$this->csvdata.=$this->separator();
|
$this->csvdata.=$this->separator();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user