Fix: 파일명 생성 부분의 확장자 붙임 수정.
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
$sql_common = "SELECT * FROM {$fg['annual_member_table']} AS a LEFT JOIN {$fg['annual_category_table']} AS b ON a.ca_id = b.ca_id";
|
$sql_common = "SELECT * FROM {$fg['annual_member_table']} AS a LEFT JOIN {$fg['annual_category_table']} AS b ON a.ca_id = b.ca_id";
|
||||||
$result = sql_query($sql_common);
|
$result = sql_query($sql_common);
|
||||||
|
|
||||||
$file_name = "annual_member_list_".date("ymd")."_".date("His")."xls"; // 파일명지정
|
$file_name = "annual_member_list_".date("ymd")."_".date("His").".xls"; // 파일명지정
|
||||||
|
|
||||||
header("Content-Type: application/vnd.ms-excel");
|
header("Content-Type: application/vnd.ms-excel");
|
||||||
header('Content-Type: application/vnd.ms-excel; charset=utf-8');
|
header('Content-Type: application/vnd.ms-excel; charset=utf-8');
|
||||||
|
|||||||
Reference in New Issue
Block a user