|
|
|
15년 전
|
조회 964
|
|
|
|
15년 전
|
조회 1,003
|
|
|
|
15년 전
|
조회 796
|
|
|
|
15년 전
|
조회 816
|
|
|
|
15년 전
|
조회 1,806
|
|
|
|
15년 전
|
조회 974
|
|
|
|
15년 전
|
조회 767
|
|
|
|
15년 전
|
조회 963
|
|
|
|
15년 전
|
조회 907
|
|
|
|
15년 전
|
조회 1,274
|
|
|
|
15년 전
|
조회 2,297
|
|
|
|
15년 전
|
조회 1,524
|
|
|
|
15년 전
|
조회 785
|
|
|
|
15년 전
|
조회 861
|
|
|
|
15년 전
|
조회 1,529
|
|
|
|
15년 전
|
조회 1,534
|
|
|
|
15년 전
|
조회 1,215
|
|
|
|
15년 전
|
조회 779
|
|
|
|
15년 전
|
조회 2,502
|
|
|
|
15년 전
|
조회 1,013
|
댓글 1개
header( "Content-Disposition: attachment; filename=download_xls_file.xls" );
해당 내용은 HTML table 코드로 내뱉으면 됩니다
$xls = "<table border=1>\n";
while() {
$xls .= "<tr>";
$xls .= "<td>11</td>";
$xls .= "<td>22/td>";
$xls .= "</tr>\n";
}
$xls .= "</table>\n";
echo $xls;
이렇게 뿌려주시면 됩니다
블로그 광고 덧
http://doodoori2.tistory.com/entry/PHP-xls-csv-출력