Warning: Error while sending QUERY packet. PID=4752 in /home/wwwroot/coco/domain/cnlamp/web/wp-includes/wp-db.php on line 1887 导出 | LAMP新闻|技巧|经验|资讯站
现在位置 >首页 > 所有关于导出的文章
0+
发表于6年前 PHP
/** * excel导出类 * * 使用方法 $excel=new Excel(); * //设置编码: *$excel->setEncode("utf-8","gb2312"); //如果不转码,参数写一样即可,例如$excel->setEncode("utf-8","utf-8"); * //设置标题栏 * $titlearr=array("a","b","c","d"); * //设置内容栏 * $contentarr=array( * 1=>array("ab","ac","ad","ae"), * 2=>array("abc","acc","a...
阅读全文
×
腾讯微博