changeset 565:fb8bc71c0b40 Dev_main

Added score_parse.php separators for CSV
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 23 Feb 2016 17:11:28 +0000
parents 4ee95cb8ff55
children 7546ee427ac1
files scripts/score_parser.php
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/score_parser.php	Tue Feb 23 17:04:06 2016 +0000
+++ b/scripts/score_parser.php	Tue Feb 23 17:11:28 2016 +0000
@@ -174,9 +174,9 @@
                 foreach($page->nest as $axis) {
                     foreach($axis->nest as $element) {
                         foreach($element->nest as $value) {
-                            $doc_string = $doc_string.$page->id;
-                            $doc_string = $doc_string.$axis->id;
-                            $doc_string = $doc_string.$element->id;
+                            $doc_string = $doc_string.$page->id.',';
+                            $doc_string = $doc_string.$axis->id.',';
+                            $doc_string = $doc_string.$element->id.',';
                             $doc_string = $doc_string.$value;
                             $doc_string = $doc_string."\r\n";
                         }