ExcelToJson.php
authorEdward <edward@roojs.com>
Mon, 18 Mar 2013 03:02:20 +0000 (11:02 +0800)
committerEdward <edward@roojs.com>
Mon, 18 Mar 2013 03:02:20 +0000 (11:02 +0800)
ExcelToJson.php

index 9989b68..1a094a1 100644 (file)
@@ -45,7 +45,7 @@ class Pman_Core_ExcelToJson extends Pman_Roo
         $rows = array();
         
         while(false !== ($n = fgetcsv($fh,10000, ',', '"'))) {
-            print_r($n);
+            print_r(count($n));
         }
         exit;
         if (empty($cols)) {