上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 29 下一页
摘要: 版本:1.7.6+在不进行特殊设置的情况下,phpExcel将读取的单元格信息保存在内存中,我们可以通过PHPExcel_Settings::setCacheStorageMethod()来设置不同的缓存方式,已达到降低内存消耗的目的!1、将单元格数据序列化后保存在内存中PHPExcel_Cache... 阅读全文
posted @ 2015-07-03 23:48 北京流浪儿 阅读(8113) 评论(0) 推荐(0)
摘要: 有时候我们只需要读取某些指定sheet,具体代码如下:setLoadSheetsOnly($sheetName);//指定加载的sheet$objPHPExcel = $objReader->load($fileName);//循环获取sheet数据,使用PHPExcel自带的迭代器foreach ... 阅读全文
posted @ 2015-07-03 10:23 北京流浪儿 阅读(374) 评论(0) 推荐(0)
摘要: 如果数据量很大的时候,就需要用PHPExcel迭代器逐行读取,具体代码如下:getWorksheetIterator() as $sheet) { foreach ($sheet->getRowIterator() as $row){//逐行读取数据 if ($row->getR... 阅读全文
posted @ 2015-07-03 10:19 北京流浪儿 阅读(525) 评论(0) 推荐(0)
摘要: 这一小节内容主要是PHPExcel读取少量excel数据,具体代码如下:getSheetCount();//循环获取sheet数据$data = array();for ($i=0; $igetSheet($i)->toArray();}echo '';print_r($data); 阅读全文
posted @ 2015-07-03 10:15 北京流浪儿 阅读(207) 评论(0) 推荐(0)
摘要: 语法:node.replaceChild (newnode,oldnew )参数:newnode : 必需,用于替换 oldnew 的对象。oldnew : 必需,被 newnode 替换的对象。无标题文档 JavaScript是一个很常用的技术,为网页添加动态效果。 将加粗改为斜体 ... 阅读全文
posted @ 2015-07-02 17:37 北京流浪儿 阅读(322) 评论(0) 推荐(0)
摘要: 无标题文档 javascript javascript jQuery PHP 阅读全文
posted @ 2015-07-02 17:29 北京流浪儿 阅读(165) 评论(0) 推荐(0)
摘要: 无标题文档JavaScriptHTML 阅读全文
posted @ 2015-07-02 17:25 北京流浪儿 阅读(224) 评论(0) 推荐(0)
摘要: 无标题文档 阅读全文
posted @ 2015-07-02 17:22 北京流浪儿 阅读(156) 评论(0) 推荐(0)
摘要: 无标题文档 JavaScript HTML 阅读全文
posted @ 2015-07-02 17:18 北京流浪儿 阅读(153) 评论(0) 推荐(0)
摘要: nextSibling javascript jquery html css3 php ... 阅读全文
posted @ 2015-07-02 16:39 北京流浪儿 阅读(274) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 29 下一页