ExcelToJson.php
[Pman.Core] / ExcelToJson.php
index baa1e52..9637703 100644 (file)
@@ -69,8 +69,10 @@ class Pman_Core_ExcelToJson extends Pman_Roo
                 if (empty($cols)) {
                     continue;
                 }
+                print_r($cols);exit;
                 foreach($req as $r) {
                     if (!in_array($r,$cols)) {
+                        print_r($r);
                         $cols = false;
                         break;
                     }
@@ -84,7 +86,7 @@ class Pman_Core_ExcelToJson extends Pman_Roo
             $rows[] = $row;
             
         }
-        
+         exit;
         if (empty($cols)) {
             $this->jerr("could not find a row with " . implode(' / ', $req));
         }