简单导出excel

header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:filename=xls_region.xls");

原文地址:https://www.cnblogs.com/lizhenlzlz/p/5948682.html