projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ce282b
)
ExcelToJson.php
author
Edward
<edward@roojs.com>
Mon, 18 Mar 2013 03:05:59 +0000
(11:05 +0800)
committer
Edward
<edward@roojs.com>
Mon, 18 Mar 2013 03:05:59 +0000
(11:05 +0800)
ExcelToJson.php
patch
|
blob
|
history
diff --git
a/ExcelToJson.php
b/ExcelToJson.php
index
9c5675e
..
9c51c4a
100644
(file)
--- a/
ExcelToJson.php
+++ b/
ExcelToJson.php
@@
-43,9
+43,11
@@
class Pman_Core_ExcelToJson extends Pman_Roo
}
$rows = array();
-
+ $header = false;
while(false !== ($n = fgetcsv($fh,10000, ',', '"'))) {
- print_r(array_filter($n));
+ if(!array_filter($n)){
+ print_r('run');
+ }
}
exit;
if (empty($cols)) {