projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efb1901
)
ExcelToJson.php
author
Edward
<edward@roojs.com>
Mon, 18 Mar 2013 02:56:56 +0000
(10:56 +0800)
committer
Edward
<edward@roojs.com>
Mon, 18 Mar 2013 02:56:56 +0000
(10:56 +0800)
ExcelToJson.php
patch
|
blob
|
history
diff --git
a/ExcelToJson.php
b/ExcelToJson.php
index
56e4362
..
9989b68
100644
(file)
--- a/
ExcelToJson.php
+++ b/
ExcelToJson.php
@@
-45,7
+45,11
@@
class Pman_Core_ExcelToJson extends Pman_Roo
$rows = array();
while(false !== ($n = fgetcsv($fh,10000, ',', '"'))) {
-
+ print_r($n);
+ }
+ exit;
+ if (empty($cols)) {
+ $this->jerr("could not find a row with " . implode(' / ', $req));
}
fclose($fh);