首页 > 编程 > PHP > 正文

php读写excel类,支持多工作簿和自定义样式

2019-11-15 01:56:01
字体:
来源:转载
供稿:网友
php读写Excel类,支持多工作簿和自定义样式
<?php/*** @desc excel接口* @author mengdejun*/interface  IExcel{        //导入excel        public function import($fileName,$convert_callback_function=null);        //导出excel        public function export($fileName="excel");        //添加行        public function addRow(array $array,$sheet="sheet1");        //添加表头        public function addHead(array $array,$sheet="sheet1");        //添加工作簿        public function  addSheet($sheet);        //释放资源        public function release();}?>

  [PHP]代码

.[图片]e1.jpg <ignore_js_op>7.[图片]e2.jpg <ignore_js_op>

详细说明:http://php.662p.com/thread-486-1-1.html


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表