{"id":3370,"date":"2017-02-09T02:39:49","date_gmt":"2017-02-09T02:39:49","guid":{"rendered":"https:\/\/www.codebee.co.th\/labs\/?p=3370"},"modified":"2020-10-14T07:28:48","modified_gmt":"2020-10-14T07:28:48","slug":"php-%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5-export-excel-%e0%b9%84%e0%b8%9f%e0%b8%a5%e0%b9%8c%e0%b9%82%e0%b8%94%e0%b8%a2%e0%b8%81%e0%b8%b2%e0%b8%a3-query-%e0%b8%88%e0%b8%b2%e0%b8%81%e0%b8%90%e0%b8%b2","status":"publish","type":"post","link":"https:\/\/www.codebee.co.th\/labs\/php-%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5-export-excel-%e0%b9%84%e0%b8%9f%e0%b8%a5%e0%b9%8c%e0%b9%82%e0%b8%94%e0%b8%a2%e0%b8%81%e0%b8%b2%e0%b8%a3-query-%e0%b8%88%e0%b8%b2%e0%b8%81%e0%b8%90%e0%b8%b2\/","title":{"rendered":"PHP \u0e27\u0e34\u0e18\u0e35 Export Excel \u0e44\u0e1f\u0e25\u0e4c\u0e42\u0e14\u0e22\u0e01\u0e32\u0e23 Query \u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25"},"content":{"rendered":"<h3>PHP \u0e27\u0e34\u0e18\u0e35 Export Excel \u0e44\u0e1f\u0e25\u0e4c\u0e42\u0e14\u0e22\u0e01\u0e32\u0e23 Query \u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<\/h3>\n<p><\/br><br \/>\n<strong>PHP \u0e27\u0e34\u0e18\u0e35 Export Excel \u0e44\u0e1f\u0e25\u0e4c\u0e42\u0e14\u0e22\u0e01\u0e32\u0e23 Query \u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<\/strong><br \/>\n\u0e2a\u0e48\u0e27\u0e19\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e04\u0e37\u0e2d\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e25\u0e31\u0e07\u0e1a\u0e49\u0e32\u0e19 \u0e41\u0e25\u0e30\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19\u0e17\u0e35\u0e48\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e25\u0e31\u0e07\u0e1a\u0e49\u0e32\u0e19\u0e2d\u0e35\u0e01\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e04\u0e37\u0e2d\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e17\u0e31\u0e49\u0e07 .excel \u0e41\u0e25\u0e30 .csv \u0e2b\u0e23\u0e37\u0e2d\u0e2d\u0e32\u0e08\u0e08\u0e30\u0e21\u0e32\u0e01\u0e01\u0e27\u0e48\u0e32\u0e19\u0e35\u0e49 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e1a\u0e32\u0e07\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08\u0e44\u0e1f\u0e25\u0e4c\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e41\u0e25\u0e30\u0e2a\u0e33\u0e04\u0e31\u0e0d\u0e21\u0e32\u0e01 \u0e40\u0e1e\u0e23\u0e32\u0e30\u0e19\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e07\u0e32\u0e19\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c\u0e41\u0e25\u0e49\u0e27 \u0e43\u0e19\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e2d\u0e32\u0e08\u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e19\u0e33\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e21\u0e35 format \u0e17\u0e35\u0e48\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e2d\u0e22\u0e39\u0e48 \u0e44\u0e1b\u0e17\u0e33\u0e07\u0e32\u0e19\u0e15\u0e48\u0e2d\u0e43\u0e19\u0e41\u0e1a\u0e1a\u0e2d\u0e2d\u0e1f\u0e44\u0e25\u0e19\u0e4c \u0e27\u0e31\u0e19\u0e19\u0e35\u0e49\u0e25\u0e2d\u0e07\u0e21\u0e32\u0e14\u0e39\u0e01\u0e31\u0e19\u0e04\u0e23\u0e31\u0e1a\u0e27\u0e48\u0e32\u0e40\u0e23\u0e32\u0e08\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 export \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e1b\u0e47\u0e19\u0e44\u0e1f\u0e25\u0e4c excel \u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e19\u0e33\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e21\u0e32\u0e17\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e15\u0e32\u0e23\u0e32\u0e07\u0e44\u0e14\u0e49\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e44\u0e23<!--more--><\/p>\n<p><\/br><\/p>\n<h4>\u0e27\u0e34\u0e18\u0e35 Export Excel \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 PHP<\/h4>\n<ul>\n<li>1. \u0e2a\u0e23\u0e49\u0e32\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e0a\u0e37\u0e48\u0e2d\u0e27\u0e48\u0e32 report.php \u0e2a\u0e48\u0e27\u0e19\u0e41\u0e23\u0e01\u0e02\u0e2d\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e02\u0e35\u0e22\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e20\u0e32\u0e29\u0e32 PHP \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e0a\u0e37\u0e48\u0e2d\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e08\u0e30 export \u0e41\u0e25\u0e30\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e43\u0e2b\u0e49\u0e44\u0e1f\u0e25\u0e4c\u0e19\u0e35\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<\/li>\n<p>\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e20\u0e32\u0e29\u0e32 PHP \u0e43\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e19\u0e35\u0e49\u0e08\u0e30\u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e41\u0e25\u0e30\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e40\u0e1b\u0e34\u0e14\u0e44\u0e1f\u0e25\u0e4c report.php \u0e1c\u0e48\u0e32\u0e19 url \u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c<\/p>\n<pre class=\"lang:default decode:true \" >\r\n&lt;?php\r\n\r\nheader(\"Content-Type: application\/vnd.ms-excel\"); \/\/ \u0e1b\u0e23\u0e30\u0e40\u0e20\u0e17\u0e02\u0e2d\u0e07\u0e44\u0e1f\u0e25\u0e4c\r\nheader('Content-Disposition: attachment; filename=\"myexcel.xls\"'); \/\/\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e0a\u0e37\u0e48\u0e2d\u0e44\u0e1f\u0e25\u0e4c\r\nheader(\"Content-Type: application\/force-download\"); \/\/ \u0e01\u0e33\u0e2b\u0e19\u0e14\u0e43\u0e2b\u0e49\u0e16\u0e49\u0e32\u0e40\u0e1b\u0e34\u0e14\u0e2b\u0e19\u0e49\u0e32\u0e19\u0e35\u0e49\u0e43\u0e2b\u0e49\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c\r\nheader(\"Content-Type: application\/octet-stream\"); \r\nheader(\"Content-Type: application\/download\"); \/\/ \u0e01\u0e33\u0e2b\u0e19\u0e14\u0e43\u0e2b\u0e49\u0e16\u0e49\u0e32\u0e40\u0e1b\u0e34\u0e14\u0e2b\u0e19\u0e49\u0e32\u0e19\u0e35\u0e49\u0e43\u0e2b\u0e49\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c\r\nheader(\"Content-Transfer-Encoding: binary\"); \r\nheader(\"Content-Length: \".filesize(\"myexcel.xls\"));   \r\n\r\n@readfile($filename); \r\n\r\n?&gt;<\/pre>\n<li>2. \u0e08\u0e32\u0e01\u0e02\u0e49\u0e2d 1 \u0e08\u0e30\u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19 \u0e41\u0e15\u0e48\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e21\u0e35\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 \u0e21\u0e35\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e43\u0e2b\u0e49\u0e44\u0e1f\u0e25\u0e4c \u0e43\u0e2b\u0e49\u0e40\u0e23\u0e32\u0e40\u0e02\u0e35\u0e22\u0e19 html \u0e15\u0e48\u0e2d\u0e08\u0e32\u0e01\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 php \u0e41\u0e25\u0e30\u0e43\u0e0a\u0e49\u0e41\u0e17\u0e47\u0e01 table \u0e43\u0e19\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e01\u0e31\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 \u0e2b\u0e49\u0e32\u0e21\u0e43\u0e0a\u0e49 div \u0e40\u0e14\u0e47\u0e14\u0e02\u0e32\u0e14 \u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e40\u0e0a\u0e48\u0e19 \u0e16\u0e49\u0e32\u0e40\u0e23\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e33\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e2a\u0e21\u0e32\u0e0a\u0e34\u0e01\u0e01\u0e47\u0e2d\u0e32\u0e08\u0e08\u0e30\u0e40\u0e02\u0e35\u0e22\u0e19\u0e15\u0e32\u0e23\u0e32\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e44\u0e14\u0e49\u0e43\u0e19\u0e25\u0e31\u0e01\u0e29\u0e13\u0e30\u0e19\u0e35\u0e49 <\/li>\n<pre class=\"lang:default decode:true \" >\r\n<html xmlns:o=\"urn:schemas-microsoft-com:office:office\"\r\nxmlns:x=\"urn:schemas-microsoft-com:office:excel\"\r\nxmlns=\"http:\/\/www.w3.org\/TR\/REC-html40\">\r\n\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/>\r\n<\/head>\r\n<body>\r\n<table>\r\n  <tr>\r\n    <td>\u0e25\u0e33\u0e14\u0e31\u0e1a<\/td>\r\n    <td>\u0e0a\u0e37\u0e48\u0e2d<\/td>\r\n    <td>\u0e2d\u0e35\u0e40\u0e21\u0e25<\/td>\r\n    <td>\u0e40\u0e1a\u0e2d\u0e23\u0e4c\u0e42\u0e17\u0e23<\/td>\r\n  <\/tr>\r\n  <tr>\r\n  \t<td>1<\/td>\r\n    <td>\u0e27\u0e34\u0e17\u0e39\u0e25\u0e22\u0e4c \u0e42\u0e1e\u0e21\u0e34\u0e1c\u0e25<\/td>\r\n    <td>codebee2014@gmail.com<\/td>\r\n    <td>085 900 3405<\/td>\r\n  <\/tr>\r\n  <tr>\r\n  \t<td>2<\/td>\r\n    <td>\u0e40\u0e22\u0e32\u0e27\u0e20\u0e32 \u0e42\u0e2d\u0e20\u0e32\u0e29\u0e35<\/td>\r\n    <td>codebee2015@gmail.com<\/td>\r\n    <td>085 605 7748<\/td>\r\n  <\/tr>\r\n<\/table>\r\n<\/body>\r\n<\/html>\r\n<\/pre>\n<li>3. \u0e41\u0e25\u0e30\u0e16\u0e49\u0e32\u0e40\u0e23\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 \u0e01\u0e47\u0e40\u0e1e\u0e35\u0e22\u0e07\u0e41\u0e04\u0e48 query \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32\u0e41\u0e25\u0e49\u0e27 loop \u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25\u0e43\u0e19\u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e2b\u0e21\u0e37\u0e2d\u0e19\u0e43\u0e19\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e17\u0e35\u0e48 2 \u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e04\u0e34\u0e27\u0e23\u0e35\u0e48\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<\/li>\n<pre class=\"lang:default decode:true \" >&lt;html xmlns:o=\"urn:schemas-microsoft-com:office:office\"\r\nxmlns:x=\"urn:schemas-microsoft-com:office:excel\"\r\nxmlns=\"http:\/\/www.w3.org\/TR\/REC-html40\"&gt;\r\n\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;table&gt;\r\n  &lt;tr&gt;\r\n    &lt;td&gt;\u0e25\u0e33\u0e14\u0e31\u0e1a&lt;\/td&gt;\r\n    &lt;td&gt;\u0e0a\u0e37\u0e48\u0e2d&lt;\/td&gt;\r\n    &lt;td&gt;\u0e2d\u0e35\u0e40\u0e21\u0e25&lt;\/td&gt;\r\n    &lt;td&gt;\u0e40\u0e1a\u0e2d\u0e23\u0e4c\u0e42\u0e17\u0e23&lt;\/td&gt;\r\n  &lt;\/tr&gt;\r\n  &lt;?php\r\n  while($row=mysql_fetch_array($result)){\r\n\t  $id = $row['id'];\r\n\t  $name = $row['name'];\r\n\t  $email = $row['email'];\r\n\t  $mobile = $row['mobile'];\r\n\t  echo '&lt;tr&gt;\r\n\t\t\t\t&lt;td&gt;'.$id.'&lt;\/td&gt;\r\n\t\t\t\t&lt;td&gt;'.$name.'&lt;\/td&gt;\r\n\t\t\t\t&lt;td&gt;'.$email.'&lt;\/td&gt;\r\n\t\t\t\t&lt;td&gt;'.$mobile.'&lt;\/td&gt;\r\n\t\t\t&lt;\/tr&gt;';\r\n  ?&gt;\r\n&lt;\/table&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<\/ul>\n<p>\u0e19\u0e2d\u0e01\u0e40\u0e2b\u0e19\u0e37\u0e2d\u0e08\u0e32\u0e01\u0e17\u0e35\u0e48\u0e01\u0e47\u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23\u0e19\u0e33\u0e44\u0e1b\u0e1b\u0e23\u0e31\u0e1a\u0e43\u0e0a\u0e49\u0e43\u0e2b\u0e49\u0e40\u0e2b\u0e21\u0e32\u0e30\u0e2a\u0e21\u0e01\u0e31\u0e1a\u0e07\u0e32\u0e19 \u0e40\u0e1e\u0e23\u0e32\u0e30\u0e2a\u0e38\u0e14\u0e17\u0e49\u0e32\u0e22\u0e41\u0e25\u0e49\u0e27\u0e43\u0e19\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e08\u0e23\u0e34\u0e07 \u0e46 \u0e2d\u0e32\u0e08\u0e08\u0e30\u0e21\u0e35\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e04\u0e27\u0e32\u0e21\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e02\u0e2d\u0e07\u0e25\u0e39\u0e01\u0e04\u0e49\u0e32\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\u0e21\u0e32 \u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e40\u0e0a\u0e48\u0e19 \u0e2d\u0e32\u0e08\u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 export excel \u0e40\u0e1b\u0e47\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e41\u0e1a\u0e1a\u0e23\u0e32\u0e22\u0e27\u0e31\u0e19 \u0e23\u0e32\u0e22\u0e40\u0e14\u0e37\u0e2d\u0e19\u0e2b\u0e23\u0e37\u0e2d\u0e23\u0e32\u0e22\u0e1b\u0e35\u0e44\u0e14\u0e49 \u0e01\u0e32\u0e23\u0e19\u0e33\u0e2d\u0e2d\u0e01\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e41\u0e1a\u0e1a\u0e19\u0e35\u0e49\u0e01\u0e47\u0e40\u0e1e\u0e35\u0e22\u0e07\u0e41\u0e04\u0e48\u0e2a\u0e48\u0e07\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23\u0e41\u0e1a\u0e1a timestamp \u0e40\u0e02\u0e49\u0e32\u0e21\u0e32\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48 \u0e40\u0e14\u0e37\u0e2d\u0e19\u0e41\u0e25\u0e30\u0e1b\u0e35 \u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19\u0e40\u0e2d\u0e07\u0e04\u0e23\u0e31\u0e1a<br \/>\n<\/br><\/p>\n<blockquote><p><a href=\"http:\/\/www.codebee.co.th\/labs\/examples\/report_excel_php.php.zip\" target=\"_blank\" rel=\"noopener noreferrer\">\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07<\/a><\/p><\/blockquote>\n<p><\/br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP \u0e27\u0e34\u0e18\u0e35 Export Excel \u0e44\u0e1f\u0e25\u0e4c\u0e42\u0e14\u0e22\u0e01\u0e32\u0e23 Query \u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 PHP \u0e27\u0e34\u0e18\u0e35 Export Excel \u0e44\u0e1f\u0e25\u0e4c\u0e42\u0e14\u0e22\u0e01\u0e32\u0e23 Query \u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 \u0e2a\u0e48\u0e27\u0e19\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e04\u0e37\u0e2d\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e25\u0e31\u0e07\u0e1a\u0e49\u0e32\u0e19 \u0e41\u0e25\u0e30\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19\u0e17\u0e35\u0e48\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e25\u0e31\u0e07\u0e1a\u0e49\u0e32\u0e19\u0e2d\u0e35\u0e01\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e04\u0e37\u0e2d\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e17\u0e31\u0e49\u0e07 .excel \u0e41\u0e25\u0e30 .csv \u0e2b\u0e23\u0e37\u0e2d\u0e2d\u0e32\u0e08\u0e08\u0e30\u0e21\u0e32\u0e01\u0e01\u0e27\u0e48\u0e32\u0e19\u0e35\u0e49&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3372,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"video","meta":{"footnotes":""},"categories":[2284,1,46],"tags":[1235,1236,1268,1269,1238,1233,1234,1232,1237],"class_list":["post-3370","post","type-post","status-publish","format-video","has-post-thumbnail","hentry","category--database","category-1","category-website-development-","tag-export-excel","tag-export-excel-","tag-export-excel--php","tag-export--excel--php","tag-php-download-excel","tag-php-export-excel","tag-php--excel","tag-php--export-excel","tag--export-excel","post_format-post-format-video"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/posts\/3370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/comments?post=3370"}],"version-history":[{"count":9,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/posts\/3370\/revisions"}],"predecessor-version":[{"id":5614,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/posts\/3370\/revisions\/5614"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/media\/3372"}],"wp:attachment":[{"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/media?parent=3370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/categories?post=3370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/tags?post=3370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}