| 代码如下 | 复制代码 |
|
class excel{ /** /** /** /** /** // initialize all cells for this row endforeach; // transform $cells content into one row } /** // run through the array and add them into rows } /** // strip out special chars first // now cut it to the allowed length // set title } /** // deliver header (as recommended in php manual) // print out document to the browser } } |
|
/**
* cakephp中使用方法
* 注意 ** cakephp 配置文件 define('debug', 0);
*
* vendor ('excel');
* $doc = array (
* 0 => array ('中国', '中国人', '中国人民', '123456');
* );
* $xls = new excel;
* $xls->addarray ( $doc );
* $xls->generatexml ("mytest");
*/
/**
* 非框架使用方法
*
* require_once('excel.php');
* $doc = array (
* 0 => array ('中国', '中国人', '中国人民', '123456');
* );
* $xls = new excel;
* $xls->addarray ( $doc );
* $xls->generatexml ("mytest");
*/
绝区零Wiki入口在哪里-绝区零Wiki最新攻略查询
怎么在《Tides Of Tomorrow》中完成Kelpie Playground地点任务
《君临传奇战士技能加点攻略》(高效提升战力,助你成为顶级玩家!)
Yandex官网免登录入口-无需登录访问Yandex搜索
《源义经技能加攻略大揭秘》(学习源义经技能的有效方法与技巧,轻松提升实力)
全民争霸侠客技能介绍攻略(掌握全民争霸侠客技能,成为顶级玩家!)