Home > Article > Backend Development > PHP reads and writes excel classes, supports multiple workbooks and custom styles, read and write excel_PHP tutorial
<?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] Code
. [Picture]e1.jpg
7.
[Picture]e2.jpg e09233e72a88913c4fbff7920f86497b
Detailed description: http://php.662p.com/thread-486-1-1.html
http://www.bkjia.com/PHPjc/914483.html
www.bkjia.com