<?php include_once "../class/Config.php"; include_once "../class/CheckAsset.php"; $assetChk = new CheckAsset(); $db = new Config(); $year = $_GET['assetYear']; $yearS = $year - 543; $arrYear = $assetChk->getCheckYear($year); $arrCheck = $assetChk->getCheckAssetByYear($year); header("Content-Type: application/vnd.ms-excel"); header('Content-Disposition: attachment; filename="AssetY.xls"'); #ชื่อไฟ ?> <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"> <html> <head> <meta http-equiv="Content-type" content="text/html;charset=utf-8" /> <link href="../css/ReportStyle.css" rel="stylesheet" type="text/css" /> </head> <body > <style> @import “css/ReportStyle.css”; </style>