<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-2967089978306358715</atom:id><lastBuildDate>Fri, 19 Dec 2025 02:23:34 +0000</lastBuildDate><category>thu thuat</category><category>Uncategorized</category><category>blogspot</category><category>khoi nghiep internet</category><category>hoc theo nguoi thanh cong</category><category>SEO</category><category>php</category><category>wordpress</category><category>bitcoin</category><category>marketing</category><category>affiliate</category><category>php co ban</category><category>coupon</category><category>host</category><category>word-excel</category><category>huong dan</category><category>forex</category><category>khoa hoc kiem tien</category><category>facebook</category><category>trustcard</category><category>vps</category><category>amazon</category><category>backlink</category><category>clickbank</category><category>email marketing</category><category>khoa hoc mien phi</category><category>traffic</category><category>youtube</category><category>wprobot</category><category>adfly</category><category>content marketing</category><category>stablehost</category><category>tieng anh than ky</category><category>tiếp thị nội dung</category><category>vultr</category><category>plugin</category><category>Google Adwords</category><category>Hostgator</category><category>ban ao thun</category><category>domain</category><category>iwriter</category><category>lập trình web</category><category>teespring</category><category>MySQL</category><category>ajax</category><category>godaddy</category><category>hitleap</category><category>hostinger</category><category>paypal</category><category>pinterest</category><category>robot</category><category>sitemap</category><category>50k.vn</category><category>Getresponse</category><category>JQuery</category><category>a2hosting</category><category>abc</category><category>accesstrade</category><category>adnow</category><category>alexa</category><category>auto</category><category>auto sure</category><category>clone</category><category>code</category><category>copywriting</category><category>digital ocean</category><category>donald trump</category><category>dumper</category><category>form</category><category>free host</category><category>google alerts</category><category>google analytics</category><category>google cloud</category><category>google drive</category><category>google panda</category><category>imacros</category><category>inbound marketing</category><category>ipage</category><category>kiem tien bitcoin</category><category>landing pages</category><category>meta tag</category><category>mo hinh kinh doanh 2014</category><category>namecheap</category><category>ngan luong</category><category>niche site</category><category>payooner</category><category>postal code</category><category>teezily</category><category>test</category><category>tin tức</category><category>twitter</category><category>webmaster tools</category><category>website</category><title>Khởi Nghiệp Thành Công với Internet</title><description>Tiến tới tự do tài chính với Internet - Khởi Nghiệp Thành Công với Internet.</description><link>http://khoinghiepinternet.blogspot.com/</link><managingEditor>noreply@blogger.com (Victor)</managingEditor><generator>Blogger</generator><openSearch:totalResults>425</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-6870618940741972961</guid><pubDate>Thu, 04 Jul 2024 14:16:00 +0000</pubDate><atom:updated>2024-07-04T21:19:51.982+07:00</atom:updated><title>ARDS</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;w3-content&quot;&gt;




&lt;hr&gt;

&lt;!-- phong to thu nho --&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function () {
    //min font size
    var min=15;  
    //max font size
    var max=26; 
    //grab the default font size
    var reset = $(&#39;div&#39;).css(&#39;fontSize&#39;); 
    var elm = $(&#39;div.intro, div.ending&#39;);  
    var size = str_replace(reset, &#39;px&#39;, &#39;&#39;); 
    //Tăng kích thước chữ
    $(&#39;div.fontSizePlus&#39;).click(function() {
        if (size&lt;=max) {
            size++;
            elm.css({&#39;fontSize&#39; : size});
        }
        return false;   
    });
    //Giảm kích thước chữ
    $(&#39;div.fontSizeMinus&#39;).click(function() {
        if (size&gt;=min) {
            size--;
            elm.css({&#39;fontSize&#39; : size});
        }
        return false;   
    });
    //Cỡ chữ mặc định
    $(&#39;div.fontReset&#39;).click(function () {
         elm.css({&#39;fontSize&#39; : reset});     
    });
});
//A string replace function
function str_replace(haystack, needle, replacement) {
    var temp = haystack.split(needle);
    return temp.join(replacement);
}
&lt;/script&gt;
&lt;div class=&quot;intro&quot;&gt;
&lt;div class=&quot;w3-w8&quot;&gt;&lt;span id=&quot;gioithieu&quot; class=&quot;w3-padding-left w3-padding-right&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;GIỚI THIỆU&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div class=&quot;w3-justify&quot;&gt;&lt;div class=&quot;w3-tab&quot;&gt;Hội chứng suy hô hấp cấp tính (ARDS) là một dạng tổn thương phổi cấp tính, lan tỏa, viêm nhiễm có liên quan đến nhiều căn nguyên
&lt;/div&gt;

&lt;div class=&quot;demo-gallery&quot; data-pswp-uid=&quot;1&quot;&gt;
&lt;a href=&quot;https://cdn.hscc.vn/xxxhinhanh/ards_benhsinh.png&quot; data-size=&quot;771x699&quot; data-med=&quot;https://cdn.hscc.vn/xxxhinhanh/ards_benhsinh.png&quot; data-med-size=&quot;771x699&quot; data-author=&quot;hscc.vn&quot;&gt;
&lt;img src=&quot;https://cdn.hscc.vn/xxxhinhanh/ards_benhsinh.png&quot; width=&quot;100%&quot;&gt;
&lt;figure&gt;Cơ chế bệnh sinh ARDS&lt;/figure&gt;
&lt;/a&gt;
&lt;/div&gt;

&lt;div class=&quot;w3-tab&quot;&gt;Sinh lý bệnh của ARDS chưa hoàn toàn được hiểu rõ. Khởi đầu, tổn thương phổi trực tiếp hoặc gián tiếp ngoài phổi làm gia tăng các chất trung gian viêm thúc đẩy tích tụ bạch cầu trung tính trong vi tuần hoàn phổi. Các bạch cầu trung tính này hoạt hoá và di chuyển với số lượng lớn trên bề mặt biểu mô nội mạc mạch máu và phế nang, giải phóng protease, các cytokine và các gốc oxy tự do (reactive oxygen species). Sự di chuyển và giải phóng các hóa chất trung gian dẫn đến tăng tính thấm mạch máu, khe hở trong hàng rào biểu mô phế nang, và hoại tử tế bào phế nang loại I và II. Điều này, đến lượt nó, dẫn đến phù phổi, hình thành màng hyaline và mất surfactant làm giảm độ đàn hồi của phổi và làm trao đổi khí khó khăn.Xâm nhập sau đó của nguyên bào sợi có thể dẫn đến lắng đọng collagen, xơ hóa, và làm bệnh trầm trọng hơn. Trong giai đoạn hồi phục, nhiều quá trình xảy ra đồng thời. Cytokine kháng viêm ngừng kích hoạt bạch cầu trung tính, sau đó trải qua quá trình chết theo chương trình và thực bào. Tế bào phế nang loại II tăng sinh và biệt hóa thành tế bào loại I, tái thiết lập sự toàn vẹn của niêm mạc biểu mô và tạo ra khuynh độ thẩm thấu kéo dịch ra khỏi phế nang và vào vi mạch phổi và bạch huyết phổi. Đồng thời, các tế bào phế nang và các đại thực bào dọn dẹp các protein từ phế nang giúp phổi phục hồi.&lt;/div&gt;&lt;/div&gt;
&lt;!--bản tin chi tiết.. --&gt;


&lt;hr&gt;
  &lt;div class=&quot;w3-w8&quot; style=&quot;page-break-before: always;&quot;&gt;&lt;div id=&quot;menu_cap1_131&quot; class=&quot;w3-margin-top w3-blue w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-white&quot;&gt;NGUYÊN NHÂN&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
   &lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
   
&lt;div id=&quot;menu_cap2_281&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Trực tiếp&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;u&gt;Nguyên nhân thường gặp&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;ul&gt;&lt;li&gt;Viêm phổi&lt;/li&gt;&lt;li&gt;Hít dịch dạ dày&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;u&gt;Nguyên nhân&amp;nbsp;ít gặp&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;ul&gt;&lt;li&gt;Dập phổi&lt;/li&gt;&lt;li&gt;Đuối nước&lt;/li&gt;&lt;li&gt;Tổn thương phổi do hít khí&amp;nbsp;độc&lt;/li&gt;&lt;li&gt;Thuyên tắc do mỡ, do nước ối&lt;/li&gt;&lt;li&gt;Phù phổi sau tái tưới máu do ghép phổi hay lấy huyết khối mạch phổi&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
    	
   
&lt;div id=&quot;menu_cap2_282&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Gián tiếp&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;u&gt;Nguyên nhân thường gặp&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=36&amp;amp;idtin=172&quot; class=&quot;w3-text-blue&quot;&gt;Nhiễm trùng huyết (sepsis)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Chấn thương nặng với choáng và truyền máu nhiều lần&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;u&gt;Nguyên nhân&amp;nbsp;ít gặp&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;ul&gt;&lt;li&gt;Gãy nhiều xương&lt;/li&gt;&lt;li&gt;Chấn thương&amp;nbsp;đầu&lt;/li&gt;&lt;li&gt;Bỏng nặng&lt;/li&gt;&lt;li&gt;Truyền dịch quá mức&lt;/li&gt;&lt;li&gt;Quá liều thuốc&lt;/li&gt;&lt;li&gt;Viêm tụy cấp&lt;/li&gt;&lt;li&gt;Thông nối tim phổi&lt;/li&gt;&lt;li&gt;Truyền các chế phẩm máu&lt;/li&gt;&lt;li&gt;Đông máu nội mạch lan tỏa&lt;/li&gt;&lt;li&gt;Sốc phản vệ&lt;/li&gt;&lt;li&gt;Bạch cầu cấp&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
    	
 &lt;hr&gt;
  &lt;div class=&quot;w3-w8&quot; style=&quot;page-break-before: always;&quot;&gt;&lt;div id=&quot;menu_cap1_132&quot; class=&quot;w3-margin-top w3-blue w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-white&quot;&gt;CHẨN ĐOÁN&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
   &lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
   
&lt;div id=&quot;menu_cap2_279&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Chẩn đoán xác định&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Hội nghị Âu - Mỹ thống nhất về ARDS tại Berlin 2012&lt;ul&gt;&lt;li&gt;Khởi phát đột ngột hoặc có các triệu chứng mới hoặc xấu đi trong vòng 7 ngày.&lt;/li&gt;&lt;li&gt;X quang/ CT phổi có hình ảnh thâm nhiễm 2 bên (không&amp;nbsp;do tràn dịch màng phổi, xẹp thùy phổi, xẹp phổi hoặc nốt phổi)&lt;/li&gt;&lt;li&gt;Không có bằng chứng lâm sàng về tăng áp lực nhĩ trái (không do suy tim hoặc quá tải dịch)&lt;/li&gt;&lt;li&gt;Giảm Oxy hóa máu khi thở máy PEEP ≥ 5 cmH2O:

&lt;ul&gt;
&lt;li&gt;PaO2/FiO2: ≤ 300 nhẹ&lt;/li&gt;
&lt;li&gt;PaO2/FiO2: ≤ 200 trung bình&lt;/li&gt;
&lt;li&gt;PaO2/FiO2: ≤ 100 nặng&lt;/li&gt;
&lt;/ul&gt;

&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
    	
   	
&lt;div id=&quot;menu_cap3_3527&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Định nghĩa toàn cầu mới 2023 về ARDS&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Ngoài 2 tiêu chí:&lt;div&gt;&lt;ul&gt;&lt;li&gt;Khởi phát đột ngột hoặc có các triệu chứng mới hoặc xấu đi trong vòng 7 ngày.&lt;/li&gt;&lt;li&gt;Không có bằng chứng lâm sàng về tăng áp lực nhĩ trái (không do suy tim hoặc quá tải dịch).&lt;/li&gt;&lt;/ul&gt;Bổ sung thêm về cách thức chẩn đoán thay thế cho 2 tiêu chí còn lại:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Siêu âm phổi(nếu người thực hiện được đào tạo tốt) được thêm vào để thay thế cho việc xác định thâm nhiễm 2 bên phổi dựa vào Xquang/ CT phổi.&lt;/li&gt;&lt;li&gt;Để đánh giá oxy hóa máu: sử dụng oxy mũi lưu lượng cao (HFNO)&amp;nbsp;≥ 30 lít/phút (có ý nghĩa tương đương PEEP ≥ 5 cmH&lt;sub&gt;2&lt;/sub&gt;O) và sử dụng chỉ số SpO&lt;sub&gt;2&lt;/sub&gt; (độ bảo hòa oxy đo bằng oxy xung mạch) thay cho PaO&lt;sub&gt;2&lt;/sub&gt; (trong khí máu động mạch) để xác định tình trạng giảm oxy hóa máu (được định nghĩa khi SpO&lt;sub&gt;2&lt;/sub&gt;/FiO&lt;sub&gt;2&lt;/sub&gt;&amp;nbsp;≤ 315 mmHg với SpO&lt;sub&gt;2&lt;/sub&gt;&amp;nbsp;≤ 97% tương đương với PaO&lt;sub&gt;2&lt;/sub&gt;/FiO&lt;sub&gt;2&lt;/sub&gt;&amp;nbsp;≤&amp;nbsp;300 mmHg).&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Và trong những bối cảnh có nguồn lực hạn chế để chẩn đoán ARDS thì không yêu cầu các tiêu chí liên quan đến: PEEP, HFNO (oxy lưu lượng cao), hoặc thiết bị hỗ trợ hô hấp chuyên biệt (thở máy không xâm lấn (NIV/CPAP) hoặc thở máy xâm lấn). Xem thêm:&amp;nbsp;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=1165&quot; class=&quot;w3-text-blue&quot;&gt;Định nghĩa toàn cầu mới về ARDS 2023&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  
&lt;div id=&quot;menu_cap2_280&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Chẩn đoán phân biệt&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;div style=&quot;display: inline !important;&quot;&gt;Phù phổi do tim&lt;/div&gt;&lt;/li&gt;&lt;li&gt;Chảy máu phế nang lan tỏa&lt;/li&gt;&lt;li&gt;Viêm phổi kẽ cấp tính&lt;/li&gt;&lt;li&gt;HC Mamman-Rich&lt;/li&gt;&lt;li&gt;Viêm phổi do tăng BC ái toan&lt;/li&gt;&lt;li&gt;Lao phổi&lt;/li&gt;&lt;li&gt;Viêm phổi tổ chức hóa không rõ nguyên nhân&lt;/li&gt;&lt;li&gt;Ung thư di căn lan tỏa&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
    	
   	
&lt;div id=&quot;menu_cap3_3528&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Loại trừ phù phổi cấp do tim&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Trong bối cảnh lâm sàng việc loại trừ phù phổi cấp do tim thường dựa vào đánh giá lâm sàng, xét nghiệm BNP hoặc NT-proBNP, siêu âm tim qua thành ngực (TTE).&lt;div&gt;&lt;ul&gt;&lt;li&gt;Đánh giá lâm sàng: Phù do tim thường do rối loạn chức năng tâm thu hoặc tâm trương thất trái, nhưng cũng có thể do quá tải dịch, tăng huyết áp nặng hoặc bệnh thận nặng. Bằng chứng về rối loạn chức năng tim (tiếng ngựa phi T3 hoặc T4, tiếng thổi mới hoặc thay đổi), áp lực đổ đầy tim phải tăng cao (tĩnh mạch cổ nổi, phù chân) hoặc có các bất thường trên X quang (xung huyết tĩnh mạch phổi, đường Kerley B, bóng tim to, hoặc dịch màng phổi). Đáp ứng với điều trị lợi tiểu cũng có thể xác nhận chẩn đoán hồi cứu.&lt;/li&gt;&lt;li&gt;BNP hoặc NT-proBNP: chỉ riêng BNP nói chung không đáng tin cậy để phân biệt, mà cần phải kết hợp với đánh giá lâm sàng. BNP máu &amp;lt; 100 pg/mL xác định ARDS có độ nhạy 27% và độ đặc hiệu 95%. Do đó, BNP &amp;lt; 100 pg/mL có thể có lợi cho việc chẩn đoán ARDS, nhưng mức cao hơn không xác nhận suy tim cũng như không loại trừ ARDS.&lt;/li&gt;&lt;li&gt;Siêu âm tim qua thành ngực (TTE): ở những bệnh nhân nghi ngờ ARDS(không áp dụng thường quy nếu ít nghi ngờ), TTE có thể thực hiện để tìm kiếm bằng chứng về rối loạn chức năng tim khi không thể loại trừ phù phổi do tim bằng đánh giá lâm sàng, kết quả xét nghiệm và hình ảnh Xquang/CT. Phân suất tống máu (EF) bình thường thường có lợi cho chẩn đoán ARDS, trong khi rối loạn chức năng van động mạch chủ hoặc van hai lá nghiêm trọng, rối loạn chức năng tâm trương nghiêm trọng hoặc phân suất tống máu thất trái(LVEF) giảm nặng có thể dẫn đến phù phổi cấp do tim. Tuy nhiên, sốc nhiễm trùng có thể gây viêm cơ tim cấp tính đồng thời với ARDS, hoặc phù phổi do quá tải thể tích(truyền máu, hồi sức dịch) gây tổn thương phổi cấp ở bệnh nhân có chức năng tim bình thường, tổn thương phổi cấp do quá tải thể tích biểu hiện bằng áp lực động mạch phổi bít tăng cao(PCWP &amp;gt; 18 mmHg) khi đặt catheter động mạch phổi.&lt;/li&gt;&lt;li&gt;Siêu âm Doppler qua thực quản: cho thấy giảm chỉ số tim (CI) và tăng thời gian lưu lượng hiệu chỉnh (FTc) phù hợp với phù phổi do tim.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  
&lt;div id=&quot;menu_cap2_285&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Chẩn đoán giai đoạn&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
    	
   	
&lt;div id=&quot;menu_cap3_256&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Giai đoạn xuất tiết sớm&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Giai đoạn xuất tiết sớm trong 7 đến 10 ngày đầu tiên là một phản ứng không đặc hiệu đối với tổn thương phổi do nhiều nguyên nhân được đặc trưng bởi phù nề kẽ, viêm cấp tính và mãn tính, tăng sản tế bào loại II và hình thành màng hyalin.&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_257&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Giai đoạn tăng sinh sợi&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Sau khoảng 7 đến 10 ngày, giai đoạn tăng sinh phát triển, đặc trưng bởi sự phân giải phù phổi, tăng sinh tế bào phế nang loại II, chuyển sản vảy, thâm nhiễm kẽ bởi nguyên bào sợi và sự lắng đọng sớm của collagen. Không biết giai đoạn này kéo dài bao lâu nhưng có lẽ trong khoảng từ hai đến ba tuần.&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_258&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Giai đoạn xơ hóa&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Một số bệnh nhân tiến triển đến giai đoạn xơ hóa, được đặc trưng bởi sự phá hủy cấu trúc phổi bình thường, xơ hóa và hình thành bao nang. Mức độ xơ hóa từ tối thiểu đến nặng.&lt;/div&gt;
	
	
			  
&lt;div id=&quot;menu_cap2_286&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Chẩn đoán nguyên nhân&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Xem phần nguyên nhân ở trên&lt;/div&gt;
    	
 &lt;hr&gt;
  &lt;div class=&quot;w3-w8&quot; style=&quot;page-break-before: always;&quot;&gt;&lt;div id=&quot;menu_cap1_133&quot; class=&quot;w3-margin-top w3-blue w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-white&quot;&gt;ĐIỀU TRỊ&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
   &lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
   
&lt;div id=&quot;menu_cap2_278&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Nguyên tắc điều trị&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Nhận diện và điều trị các bệnh lý nguyên nhân&lt;/li&gt;&lt;li&gt;Thông khí cơ học với chế độ bảo vệ phổi&lt;/li&gt;&lt;li&gt;Cân bằng nước dịch&amp;nbsp;&lt;/li&gt;&lt;li&gt;Giảm thiểu biến chứng của điều trị và các thủ thuật&lt;/li&gt;&lt;li&gt;Dự phòng huyết khối tĩnh mạch, xuất huyết tiêu hóa, hít sặc, tránh thuốc an thần quá mức, tránh nhiễm trùng&amp;nbsp;&lt;/li&gt;&lt;li&gt;Cung cấp đầy đủ dinh dưỡng.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
    	
   
&lt;div id=&quot;menu_cap2_283&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Chiến lược thông khí bảo vệ phổi&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Với việc &lt;a href=&quot;?id=bantin&amp;amp;idnhom=66&amp;amp;idtin=578&quot; class=&quot;w3-text-blue&quot;&gt;oxy mũi lưu lượng cao (HFNO)&lt;/a&gt; ngày càng được sử dụng phổ biến, có thể xem xét việc sử dụng HFNO để giảm nhu cầu đặt nội khí quản. Tuy nhiên, HFNO có nên thay thế cho &lt;a href=&quot;?id=bantin&amp;amp;idnhom=37&amp;amp;idtin=196&quot; class=&quot;w3-text-blue&quot;&gt;thở máy không xâm lấn NIV/CPAP&lt;/a&gt; hay không hoặc có thể sử dụng &lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=567&quot; class=&quot;w3-text-blue&quot;&gt;chỉ số ROX&lt;/a&gt; để xác định thời điểm HFNO thất bại và cần đặt nội khí quản hay không hiện chưa có khuyến cáo rõ ràng.

&lt;div class=&quot;demo-gallery&quot; data-pswp-uid=&quot;2&quot;&gt;
&lt;a href=&quot;https://cdn.hscc.vn/xxxhinhanh/ardsaic.jpg&quot; data-size=&quot;1960x1079&quot; data-med=&quot;https://cdn.hscc.vn/xxxhinhanh/ardsaic.jpg&quot; data-med-size=&quot;1960x1079&quot; data-author=&quot;hscc.vn&quot;&gt;
&lt;img src=&quot;https://cdn.hscc.vn/xxxhinhanh/ardsaic.jpg&quot; width=&quot;100%&quot;&gt;
&lt;figure&gt;Theo hướng dẫn chính thức về xử trí ARDS của AIC 2019&lt;/figure&gt;
&lt;/a&gt;

&lt;a href=&quot;https://cdn.hscc.vn/xxxhinhanh/ards_thongkhi.png&quot; data-size=&quot;2183x2131&quot; data-med=&quot;https://cdn.hscc.vn/xxxhinhanh/ards_thongkhi.png&quot; data-med-size=&quot;2183x2131&quot; data-author=&quot;hscc.vn&quot;&gt;
&lt;img src=&quot;https://cdn.hscc.vn/xxxhinhanh/ards_thongkhi.png&quot; width=&quot;100%&quot;&gt;
&lt;figure&gt;Chiến lược tiếp cận thông khí&lt;/figure&gt;
&lt;/a&gt;
&lt;/div&gt;
Thông khí bảo vệ phổi đề cập đến thể tích khí lưu thông(Vt) thấp từ 4 - 8 ml/kg (cân nặng dự đoán) và áp lực bình nguyên Pplat &amp;lt; 30 cmH2O vẫn là nền tảng trong quản lý ARDS để giảm thiểu tổn thương phổi gây ra bởi thở máy (Ventilator-induced Lung Injury - VILI). Một yếu tố quan trọng khác của thông khí bảo vệ phổi là sử dụng áp lực dương cuối thì thở ra (PEEP) để cải thiện tình trạng thiếu oxy và hạn chế xẹp phổi. Xem thêm: &lt;a href=&quot;?id=bantin&amp;amp;idnhom=37&amp;amp;idtin=827&quot; class=&quot;w3-text-blue&quot;&gt;Thở máy cho bệnh nhân hội chứng nguy kịch hô hấp cấp tính (ARDS)&lt;/a&gt;&lt;/div&gt;
    	
   	
&lt;div id=&quot;menu_cap3_254&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Mục tiêu&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;b&gt;- PaO&lt;sub&gt;2&lt;/sub&gt; : 55 – 80 mmHg hoặc SpO&lt;sub&gt;2&lt;/sub&gt;: 88 – 95% và duy trì FiO&lt;sub&gt;2&lt;/sub&gt; &amp;lt; 60%&lt;/b&gt;&lt;br&gt;&lt;ul&gt;&lt;li&gt;Bằng cách: tăng PEEP và FiO&lt;sub&gt;2&lt;/sub&gt; theo ARDS network&lt;/li&gt;&lt;li&gt;Khi FiO&lt;span style=&quot;font-size: 12.75px; line-height: 0; position: relative; vertical-align: baseline; bottom: -0.25em;&quot;&gt;2&lt;/span&gt;&amp;nbsp;&amp;gt; 70%&amp;nbsp; hoặc Pplat &amp;gt; 30 cmH&lt;span style=&quot;font-size: 12.75px; line-height: 0; position: relative; vertical-align: baseline; bottom: -0.25em;&quot;&gt;2&lt;/span&gt;O mà PaO&lt;span style=&quot;font-size: 12.75px; line-height: 0; position: relative; vertical-align: baseline; bottom: -0.25em;&quot;&gt;2&lt;/span&gt;&amp;nbsp;&amp;lt; 55 mmHg hoặc SpO&lt;span style=&quot;font-size: 12.75px; line-height: 0; position: relative; vertical-align: baseline; bottom: -0.25em;&quot;&gt;2&lt;/span&gt;&amp;nbsp;&amp;lt; 88%: sử dụng các biện pháp cứu cánh bổ sung: thông khí mở phổi, huy động phế nang,...&lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;- Mục tiêu Pplat : ≤ 30 cmH&lt;sub&gt;2&lt;/sub&gt;O&lt;/b&gt;&lt;br&gt;&lt;ul&gt;&lt;li&gt;Nếu Pplat &amp;gt; 30 cmH&lt;sub&gt;2&lt;/sub&gt;O bằng cách: giảm Vt 1ml/kg có thể đến mức 4ml/kg&lt;/li&gt;&lt;li&gt;Nếu Pplat &amp;lt; 25 cmH&lt;sub style=&quot;&quot;&gt;2&lt;/sub&gt;O và Vt &amp;lt;6 mL/kg(cân nặng lý tưởng), tăng Vt thêm 1 mL/kg IBW cho đến khi Pplat &amp;gt; 25 cmH&lt;sub&gt;2&lt;/sub&gt;O (mà&amp;nbsp;Pplat vẫn ≤ 30 cmH&lt;sub&gt;2&lt;/sub&gt;O)&amp;nbsp;hoặc Vt = 6 mL / kg (hoặc 7 đến 8 ml/kg IBW nếu rối loạn đồng bộ máy thở [đói khí] nghiêm trọng, nếu Pplat vẫn còn ≤ 30 cmH2O).&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;- pH : 7.3 – 7.45&lt;/b&gt;&lt;div&gt;&lt;b&gt;&lt;/b&gt;&lt;ul&gt;&lt;li&gt;Nếu pH 7.15 - 7.30 tăng tần số thở(f) cho đến khi pH &amp;gt; 7.3 hoặc PaCO&lt;sub&gt;2&lt;/sub&gt; &amp;lt; 25 mmHg (xem xét NaHCO&lt;sub&gt;3&lt;/sub&gt; nếu f = 35 và PaCO2 &amp;lt; 25 mmHg)&lt;/li&gt;&lt;li&gt;Nếu pH &amp;lt; 7.15 tăng f đến 35: nếu pH vẫn &amp;lt; 7.15 và NaHCO&lt;sub&gt;3&lt;/sub&gt; được sử dụng hoặc được xem xét, tăng Vt thêm 1 mL/kg cho đến khi pH &amp;gt; 7.15 (Pplate có thể vượt mức).&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Để tìm Pplat trên máy thở R860 có 2 cách:&lt;/b&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Đo Pplat ngắt quãng: sử dụng chức năng Insp Hold: chọn time 2 giây và play.&lt;/li&gt;&lt;li&gt;Đo Pplat liên tục: sử dụng Mode A/C VC, thiết lập Insp Pause sau cho Tpause = 10% thời gian của 1 chu kỳ thở. Với thời gian của 1 chu kỳ thở = 60/tần số thở.&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;&lt;u&gt;Lưu ý: &lt;/u&gt;&lt;/b&gt;trước khi thực hiện đo Pplat cần đảm bảo đường thở thông thoáng (hút đàm) và ống nội khí quản không bị rò rỉ khí (bơm Cuff bóng chèn giữ ở mức 25 - 30 cmH&lt;sub&gt;2&lt;/sub&gt;O), và bệnh nhân thở theo máy hoàn toàn (bolus an thần).&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_255&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Cài đặt máy thở ban đầu&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;ul&gt;&lt;li&gt;Mode: kiểm soát thể tích VCV như AC/VC, có thể sử dụng Mode áp lực PCV như AC/PC miễn đạt được Vt mong muốn.&lt;/li&gt;&lt;li&gt;Vt ban đầu: 6 ml/kg cân nặng lý tưởng (IBW), điều chỉnh Vt dựa theo Pplat ở trên.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
&lt;div class=&quot;w3-panel w3-pale-red w3-leftbar w3-border-red w3-round&quot;&gt;
&lt;i&gt;IBW (ideal body&amp;nbsp;weight) (nam) = &lt;/i&gt;&lt;i&gt;50 + 0,91 [chiều cao (cm) - 152,4]&amp;nbsp;&lt;/i&gt;&lt;br&gt;&lt;i&gt;IBW (ideal body&amp;nbsp;weight) (nữ) = &lt;/i&gt;&lt;i&gt;45,5 + 0,91 [chiều cao (cm) - 152,4]&lt;/i&gt;
&lt;/div&gt;
Xem thêm: &lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=530&quot; class=&quot;w3-text-blue&quot;&gt;công cụ hỗ trợ tính Vt dựa trên cân nặng dự đoán (PBW) cho bệnh nhân thở máy&lt;/a&gt; hoặc &lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=828&quot; class=&quot;w3-text-blue&quot;&gt;Cài đặt máy thở ban đầu ở người lớn&lt;/a&gt; và &lt;a href=&quot;?id=bantin&amp;amp;idnhom=37&amp;amp;idtin=827&quot; class=&quot;w3-text-blue&quot;&gt;Thở máy cho bệnh nhân hội chứng nguy kịch hô hấp cấp tính (ARDS)&lt;/a&gt;&lt;br&gt;&lt;ul&gt;&lt;li&gt;PEEP: 5-10 cmH&lt;sub&gt;2&lt;/sub&gt;O (điều chỉnh cùng với FiO&lt;sub&gt;2&lt;/sub&gt; theo ARDS Network)&lt;/li&gt;&lt;li&gt;Tần số thở 14 - 22 lần/phút (≤35 lần/ phút)&lt;/li&gt;&lt;li&gt;I:E khoảng 1:2 (khoảng điều chỉnh 1:1-1:3)&lt;/li&gt;&lt;li&gt;FiO&lt;sub&gt;2&lt;/sub&gt;: 100%&lt;/li&gt;&lt;/ul&gt;Các thông số được điều chỉnh theo mục tiêu thông khí ở trên.&lt;div&gt;&lt;br&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Cài FiO&lt;sub style=&quot;&quot;&gt;2&lt;/sub&gt; và PEEP Theo&amp;nbsp;ARDS Network&lt;/b&gt;&lt;/div&gt;




&lt;div class=&quot;w3-w8 w3-responsive&quot;&gt;
&lt;table class=&quot;w3-table w3-striped w3-vienbang&quot;&gt;
&lt;tbody&gt;
&lt;tr class=&quot;w3-blue-grey&quot;&gt;
&lt;th colspan=&quot;9&quot;&gt;ARDS nhẹ (PaO&lt;sub&gt;2&lt;/sub&gt;/FiO&lt;sub&gt;2&lt;/sub&gt;: ≤ 300 mmHg)&lt;/th&gt;
&lt;/tr&gt;

&lt;tr class=&quot;w3-teal&quot;&gt;
&lt;th&gt;FiO&lt;sub&gt;2&lt;/sub&gt;&lt;/th&gt;
&lt;th&gt;0.3-0.4&lt;/th&gt;
&lt;th&gt;0.4-0.5&lt;/th&gt;
&lt;th&gt;0.5-0.6-0.7&lt;/th&gt;
&lt;th&gt;0.7&lt;/th&gt;
&lt;th&gt;0.7-0.8-0.9&lt;/th&gt;
&lt;th&gt;0.9&lt;/th&gt;
&lt;th&gt;0.9&lt;/th&gt;
&lt;th&gt;1.0&lt;/th&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;&lt;b&gt;PEEP&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;14&lt;/td&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;td&gt;18&lt;/td&gt;
&lt;td&gt;18-24&lt;/td&gt;
&lt;/tr&gt;

&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;

&lt;div class=&quot;w3-w8 w3-responsive&quot;&gt;
&lt;table class=&quot;w3-table w3-striped w3-vienbang&quot;&gt;
&lt;tbody&gt;
&lt;tr class=&quot;w3-blue-grey&quot;&gt;
&lt;th colspan=&quot;7&quot;&gt;ARDS trung bình đến nặng (PaO&lt;sub&gt;2&lt;/sub&gt;/FiO&lt;sub&gt;2&lt;/sub&gt;: ≤ 200 mmHg)&lt;/th&gt;
&lt;/tr&gt;

&lt;tr class=&quot;w3-teal&quot;&gt;
&lt;th&gt;FiO&lt;sub&gt;2&lt;/sub&gt;&lt;/th&gt;
&lt;th&gt;0.3&lt;/th&gt;
&lt;th&gt;0.4&lt;/th&gt;
&lt;th&gt;0.5&lt;/th&gt;
&lt;th&gt;0.5-0.8&lt;/th&gt;
&lt;th&gt;0.8-0.9-1.0&lt;/th&gt;
&lt;th&gt;1.0&lt;/th&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;&lt;b&gt;PEEP&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;5-8-10-12-14&lt;/td&gt;
&lt;td&gt;14-16&lt;/td&gt;
&lt;td&gt;16-18&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;22&lt;/td&gt;
&lt;td&gt;24&lt;/td&gt;
&lt;/tr&gt;

&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;

&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Khi PaO2/FiO2 &amp;lt; 150&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;ul&gt;&lt;li&gt;Thuốc chẹn thần kinh cơ(truyền liên tục) bắt&amp;nbsp;đầu trong 48 giờ&amp;nbsp;đầu (kéo dài không quá 48 giờ)&lt;/li&gt;&lt;li&gt;Thông khí nằm sấp nên&amp;nbsp;được thực hiện&amp;nbsp;ít nhất 16 giờ liên tục/ ngày.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;u&gt;Khuyến cáo&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;ul&gt;&lt;li&gt;Nitrogen Monoxide (NO) có thể&amp;nbsp;được sử dụng trong trường hợp giảm&amp;nbsp;Oxy hóa máu nặng mặc dù&amp;nbsp;đã thực hiện chiến lược thông khí bảo vệ phổi và thông khí nằm sấp và trước khi dự tính sử dụng ECMO v-v.&lt;/li&gt;&lt;li&gt;Cân nhắc ECMO khi PaO2/FiO2 &amp;lt; 150 và/ hoặc thở máy trở nên nguy hiểm khi Pplate tăng cao mặc dù&amp;nbsp;đã tối&amp;nbsp;ưu hóa PEEP cao, thuốc chặn thần kinh cơ và thông khí nằm sấp. Quyết&amp;nbsp;định ECMO cần&amp;nbsp;được&amp;nbsp;đánh giá sớm bằng cách liên hệ với với chuyên gia&lt;/li&gt;&lt;li&gt;Sau giai&amp;nbsp;đoạn cấp có thể sử dụng MODE hỗ trợ&amp;nbsp;áp lực&amp;nbsp;đảm bảo Vt 6 - 8 ml/kg&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;u&gt;Không khuyến cáo&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;ul&gt;&lt;li&gt;Không khuyến cáo thông khí tự thở (nhịp thở SPONT) thường quy trong giai&amp;nbsp;đoạn cấp&amp;nbsp;ARDS.&lt;/li&gt;&lt;li&gt;Thông khí dao&amp;nbsp;động tần số cao (HFO: cung cấp Vt nhỏ 1-3 mL/kg với tần số 3-6Hz và áp lực trung bình đường thở cao, mục đích tạo thuận lợi để mở các phế nang và hạn chế xẹp phổi, cải thiện trao đổi oxy và thải CO&lt;sub&gt;2&lt;/sub&gt;) không nên sử dụng vì các nghiên cứu cho thấy không có lợi và tác hại có thể xảy ra.&lt;/li&gt;&lt;li&gt;Dữ liệu hiện có chưa khuyến cáo sử dụng thiết bị loại bỏ CO&lt;sub&gt;2&lt;/sub&gt; qua màng ngoài cơ thể.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Cai máy thở khi:&lt;/b&gt;&amp;nbsp;PEEP ≤&amp;nbsp;8, FiO2: ≤&amp;nbsp;40%. Xem thêm: &lt;a href=&quot;?id=bantin&amp;amp;idnhom=37&amp;amp;idtin=348&quot; class=&quot;w3-text-blue&quot;&gt;Cai an thần và cai thở máy&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3529&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;ECMO&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Theo hướng dẫn của Hiệp hội Lồng ngực Anh (ATS) khuyến nghị &lt;a href=&quot;?id=bantin&amp;amp;idnhom=35&amp;amp;idtin=94&quot; class=&quot;w3-text-blue&quot;&gt;ECMO&lt;/a&gt; ở một số bệnh nhân ARDS nặng đang thông khí bảo vệ phổi với &lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=619&quot; class=&quot;w3-text-blue&quot;&gt;điểm MURRAY&lt;/a&gt; &amp;gt; 3 hoặc PH &amp;lt; 7,2 do tăng CO2 máu mất bù. Tuy nhiên, không có khuyến cáo nào chắc chắn ủng hộ hoặc phản đối ECMO trong ARDS nặng trong hướng dẫn của ATS/ Hiệp hội Hô Hấp Châu Âu (ERS)/ Hiệp hội Y học Hồi sức tích cực (SCCM).&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;ECMO ngày càng được sử dụng tăng lên như một giải pháp cứu cách cho liệu pháp cải thiện Oxy hóa máu, có thể thích hợp đối với bệnh nhân ARDS nặng thất bại với chiến lược thông khí Vt thấp tiêu chuẩn, thất bại hoặc không thích hợp để thông khí nằm sấp và chiến lược&amp;nbsp; PEEP cao/ huy động phế nang. Cần xem xét một số chống chỉ định. Điều quan trọng là nên được áp dụng sớm (trong vòng 7 ngày) là rất quan trọng trong sự thành công của ECMO. Do đó, những trung tâm không có ECMO nên chuyển viện sớm đến trung tâm có ECMO.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Các tiêu chí cho ECMO:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;P/F &amp;lt; 50 mmHg trong &amp;gt; 3 giờ.&lt;/li&gt;&lt;li&gt;P/F &amp;lt; 80 mmHg trong &amp;gt; 6 giờ.&lt;/li&gt;&lt;li&gt;pH &amp;lt; 7,25 và PaCO&lt;sub&gt;2&lt;/sub&gt;&amp;nbsp;≥ 60 mmHg trong &amp;gt; 6 giờ (với tần số thở f ở mức 35 nhịp/phút và cái đặt máy thở để giữ Pplat&amp;nbsp;≤ 32 cmH&lt;sub&gt;2&lt;/sub&gt;O)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3530&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Thông khí nằm sấp&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Được khuyến cáo cho bệnh nhân ARDS trung bình nặng (P/F &amp;lt; 150 mmHg và PEEP&amp;nbsp;≥ 5 cmH2O) mặc dù đã tối ưu hóa thông khí để giảm tỷ lệ tử vong. Nằm sấp nên được áp dụng liên tục &amp;gt; 16 giờ/ngày(18-20 giờ/ngày) trong vài ngày và điều quan trọng là phải áp dụng sớm (trong vòng 7 ngày). Nếu bệnh nhân không cải thiện (ví dụ: sau 6 - 8 giờ và đôi khi đến 20 giờ thông khí nằm sấp) nên xem xét các biện pháp khác tiếp theo.&lt;div&gt;&lt;br&gt;&lt;div&gt;&lt;b&gt;Các chống chỉ định:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Vết thương hở/ vết bỏng trên bề mặt cở thể vùng bụng&lt;/li&gt;&lt;li&gt;Các gãy xương không ổn định&lt;/li&gt;&lt;li&gt;Mất ổn định cột sống&lt;/li&gt;&lt;li&gt;Tăng áp lực nội sọ (ICP)&lt;/li&gt;&lt;li&gt;Huyết động không ổn định&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;b&gt;Thận trọng nếu:&lt;/b&gt; mở khí quản, đặt ống dẫn lưu màng phổi, béo phì, cổ chướng.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3531&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Huy động phế nang&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div&gt;Thủ thuật huy động phế nang là việc áp dụng áp lực đường thở dương liên tục (CPAP) hay PEEP ở mức độ cao với mục tiêu huy động những phần của phổi không được trao đổi khí liên quan đến ARDS để tham gia vào trao đổi khí.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;Huy động phế nang không khuyến cáo sử dụng thường quy, mà chỉ được xem xét trong trường hợp ARDS trung bình đến nặng có P/F &amp;lt; 150 mmHg nhằm cải thiện quá trình oxy hóa. Đôi khi cũng có thể xem xét áp dụng ở bệnh nhân có biểu hiện giảm độ bão hòa oxy máu sau khi ngắt kết nối với máy thở (vận chuyển, thay hệ thống ống dây máy thở), khi hút đàm, nội soi phế quản, thay đổi lại tư thế bệnh nhân..điều mà có thể dẫn đến xẹp phế nang.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thủ thuật huy động phế nang 40/40: Đặt mức áp lực CPAP hoặc PEEP: từ 35 - 40 cmH2O với thời gian trong 40 giây. Mức PEEP sau đó được chuẩn độ trên mức PEEP thường dùng&amp;nbsp;≥ 2 cmH&lt;sub&gt;2&lt;/sub&gt;O nhưng thấp hơn mức PEEP dùng trong thủ thuật huy động phế nang, hoặc đặt PEEP theo FiO&lt;sub&gt;2&lt;/sub&gt; trong bảng ARDS network có mức PEEP cao. Hầu hết các chuyên gia đều thực hiện trong giai đoạn sớm của ARDS (tức giai đoạn xuất tiết sớm: 7 - 10 ngày đầu). Và thực hiện một lần, có thể lặp lại hơn một lần nếu đáp ứng được quan sát thấy nhưng chỉ duy trì thoáng qua. (xem thêm: &lt;a href=&quot;?id=bantin&amp;amp;idnhom=66&amp;amp;idtin=624&quot; class=&quot;w3-text-blue&quot;&gt;Huy động phế nang CPAP 40/40&lt;/a&gt;)&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Tác dụng phụ phổ biến của thủ thuật huy động phế nang là hạ huyết áp và giảm độ bão hoà oxy. Nhưng những ảnh hưởng này thường tự giới hạn và không có hậu quả nghiêm trọng. Tuy nhiên, có thể có một số nguy cơ chấn thương phổi do áp lực và ngừng tim khi thực hiện thủ thuật huy động phế nang trong thời gian dài. Cần phải theo dõi cẩn thận tình trạng mất ổn định huyết động bất cứ khi nào thực hiện thủ thuật này.&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3532&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Thông khí mở phổi (OLV) và PEEP tối ưu&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Sử dụng thông khí Vt thấp(6 mL/kg) kết hợp PEEP tăng dần (2-3 cmH&lt;sub&gt;2&lt;/sub&gt;O) để đo độ giãn nở phổi động Cdyn sau mỗi 3 - 5 phút (thời gian để huy động phế nang), SpO&lt;sub&gt;2&lt;/sub&gt; và huyết áp. Để tìm ra mức Cdyn cao nhất mà Pplat ≤ 30 cmH&lt;sub&gt;2&lt;/sub&gt;O, đồng thời cải thiện SpO&lt;sub&gt;2&lt;/sub&gt; tốt nhất, mức PEEP tương ứng với Cdyn đó được chọn là PEEP tối ưu dùng để thiết lập.&lt;/div&gt;
	
	
			  
&lt;div id=&quot;menu_cap2_284&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Cân bằng dịch&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Cân bằng dịch dương tối thiểu hoặc cân bằng dịch âm với mục tiêu hợp lý là:&lt;div&gt;&lt;ul&gt;&lt;li&gt;CVP &amp;lt; 4 mmHg (&lt;a href=&quot;?id=bantin&amp;amp;idnhom=38&amp;amp;idtin=253&quot; class=&quot;w3-text-blue&quot;&gt;qua catheter tĩnh mạch trung tâm CVC&lt;/a&gt;) hoặc&lt;/li&gt;&lt;li&gt;PAOP &amp;lt; 8 mmHg (&lt;a href=&quot;?id=bantin&amp;amp;idnhom=38&amp;amp;idtin=260&quot; class=&quot;w3-text-blue&quot;&gt;qua catheter động mạch phổi PAC&lt;/a&gt;)&lt;/li&gt;&lt;/ul&gt;Mà vẫn đảm bảo ổn định huyết động, sự ổn định huyết động được xác định bằng:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;MAP &amp;gt; 60 mmHg khi không sử dụng thuốc vận mạch&lt;/li&gt;&lt;li&gt;Lượng nước tiểu&amp;nbsp;≥ 0,5 mL/kg/giờ&lt;/li&gt;&lt;li&gt;Bằng chứng về tuần hoàn đầy đủ dựa trên khám lâm sàng hoặc chỉ số tim (CI)&amp;nbsp;≥ 2,5 L/phút/m&lt;sup&gt;2&lt;/sup&gt;da.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Thuốc lợi tiểu và hạn chế dịch là chiến lược để thực hiện mục tiêu này. Trong trường hợp cần sử dụng dịch(MAP &amp;lt; 60 mmHg) như sốc giảm thể tích hoặc sốc nhiễm trùng, ưu tiên sử dụng dịch tinh thể cân bằng.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
    	
   	
&lt;div id=&quot;menu_cap3_3533&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Chiến lược quản lý dịch&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Bệnh nhân cần được thiếp lập đường truyền tĩnh mạch trung tâm và đo huyết áp động mạch xâm lấn để theo dõi CVP, MAP và CI (chỉ số tim). Ở bệnh nhân MAP &amp;lt; 60 mmHg: cần tối ưu huyết động với truyền dịch, vận mạch đến khi MAP&amp;nbsp;≥ 60 mmg mà không cần sử dụng đến&amp;nbsp; vận mạch (ngoại trừ Dopamine &amp;lt; 5 mcg/kg/phút) và tiếp tục tối ưu mục tiêu như sau:

&lt;div class=&quot;w3-w8 w3-responsive&quot;&gt;
&lt;table class=&quot;w3-table w3-striped w3-vienbang&quot;&gt;
&lt;tbody&gt;
&lt;tr class=&quot;w3-blue-grey&quot;&gt;
&lt;th rowspan=&quot;2&quot;&gt;CVP&lt;/th&gt;
&lt;th colspan=&quot;2&quot;&gt;Lượng nước tiểu trung bình &amp;lt;0.5 mL/kg/giờ&lt;/th&gt;
&lt;th colspan=&quot;2&quot;&gt;Lượng nước tiểu trung bình ≥0.5 mL/kg/giờ&lt;/th&gt;
&lt;/tr&gt;

&lt;tr class=&quot;w3-teal&quot;&gt;
&lt;th&gt;CI &amp;lt; 2.5 hoặc chi lạnh, nổi vân tím với thời gian đổ đầy mao mạch ≥ 2 giây&lt;/th&gt;
&lt;th&gt;CI ≥ 2.5 hoặc không có bằng chứng của suy giảm tuần hoàn&lt;/th&gt;
&lt;th&gt;CI &amp;lt; 2.5 hoặc chi lạnh, nổi vân tím với thời gian đổ đầy mao mạch ≥ 2 giây&lt;/th&gt;
&lt;th&gt;CI ≥ 2.5 hoặc không có bằng chứng của suy giảm tuần hoàn&lt;/th&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td class=&quot;w3-blue-grey&quot;&gt;CVP &amp;gt; 13&lt;/td&gt;
&lt;td class=&quot;w3-pale-blue&quot;&gt;1/ &lt;b class=&quot;w3-text-pink&quot;&gt;Dopamine&lt;/b&gt;&lt;br&gt;Furosemide&lt;/td&gt;
&lt;td class=&quot;w3-pale-blue&quot;&gt;5/ Furosemide&lt;/td&gt;
&lt;td class=&quot;w3-pale-green&quot;&gt;9/ &lt;b class=&quot;w3-text-pink&quot;&gt;Dopamine&lt;/b&gt;&lt;br&gt;Furosemide&lt;/td&gt;
&lt;td class=&quot;w3-pale-green&quot;&gt;13/ Furosemide&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td class=&quot;w3-blue-grey&quot;&gt;CVP 9-13&lt;/td&gt;
&lt;td&gt;2/ &lt;b class=&quot;w3-text-pink&quot;&gt;Dopamine&lt;/b&gt;&lt;/td&gt;
&lt;td class=&quot;w3-pale-blue&quot;&gt;6/ Furosemide&lt;/td&gt;
&lt;td&gt;10/ &lt;b class=&quot;w3-text-pink&quot;&gt;Dopamine&lt;/b&gt;&lt;/td&gt;
&lt;td class=&quot;w3-pale-green&quot;&gt;14/ Furosemide&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td class=&quot;w3-blue-grey&quot;&gt;CVP 4-8&lt;/td&gt;
&lt;td class=&quot;w3-pale-yellow&quot;&gt;3/ Bolus dịch&lt;/td&gt;
&lt;td class=&quot;w3-pale-yellow&quot;&gt;7/ Bolus dịch&lt;/td&gt;
&lt;td class=&quot;w3-pale-red&quot;&gt;11/ Bolus dịch&lt;/td&gt;
&lt;td class=&quot;w3-pale-green&quot;&gt;15/ Furosemide&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td class=&quot;w3-blue-grey&quot;&gt;CVP &amp;lt; 4&lt;/td&gt;
&lt;td class=&quot;w3-pale-yellow&quot;&gt;4/ Bolus dịch&lt;/td&gt;
&lt;td class=&quot;w3-pale-yellow&quot;&gt;8/ Bolus dịch&lt;/td&gt;
&lt;td class=&quot;w3-pale-red&quot;&gt;12/ Bolus dịch&lt;/td&gt;
&lt;td&gt;16/ Giữ thông tĩnh mạch(vein)&lt;/td&gt;
&lt;/tr&gt;

&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;br&gt;
&lt;div class=&quot;w3-w8 w3-responsive&quot;&gt;
&lt;table class=&quot;w3-table w3-striped w3-vienbang&quot;&gt;
&lt;tbody&gt;
&lt;tr class=&quot;w3-pale-blue&quot;&gt;
&lt;td&gt;Với các ô: 1,5,6 Furosemide với liều 20 mg bolus IV, hoặc truyền IV với tốc độ 3 mg/giờ.&lt;br&gt;&lt;b&gt;NGỪNG DÙNG&lt;/b&gt; nếu Creatinine &amp;gt; 3 mg/dL hoặc Creatinine 0-3 mg/dL với xét nghiệm khác phù hợp với suy thận, hoặc sử dụng thuốc vận mạch/ bolus dịch trong 12 giờ qua.&lt;/td&gt;
&lt;td&gt;Đánh giá lại trong 1 giờ: Gấp đôi liều Furosemide hàng giờ cho đến khi lượng nước tiểu ≥ 0.5 mL/kg/giờ hoặc đạt liều tối đa 24 mg/giờ hoặc liều bolus 160 mg. Ngừng Furosemide nếu không đáp ứng.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;w3-pale-green&quot;&gt;
&lt;td&gt;Với các ô: 9,13,14,15 Furosemide với liều 20 mg bolus IV, hoặc truyền IV với tốc độ 3 mg/giờ.&lt;br&gt;&lt;b&gt;NGỪNG DÙNG&lt;/b&gt; nếu Creatinine &amp;gt; 3 mg/dL hoặc Creatinine 0-3 mg/dL với xét nghiệm khác phù hợp với suy thận, hoặc sử dụng thuốc vận mạch/ bolus dịch trong 12 giờ qua.&lt;/td&gt;
&lt;td&gt;Đánh giá lại trong 4 giờ: nếu vẫn trong ô có chỉ định cho Furosemide, cho một liều tương đương nếu lượng nước tiểu &amp;gt; 3 mL/kg/giờ, gấp đôi liều nếu lượng nước tiểu&amp;nbsp;≤ 3 mL/kg/giờ, đạt liều tối đa 24 mg/giờ hoặc liều bolus 160 mg.&lt;br&gt;Ngừng Furosemide nếu không đáp ứng.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;w3-pale-yellow&quot;&gt;
&lt;td&gt;Với các ô: 3,4,7,8 cho nước muối sinh lý, dịch tinh thể cân bằng (Plasmalyte), hoặc Ringer lactate bolus 15 mL/kg, 1 đơn vị hồng cầu khối hoặc 25 g Albumin 25%.&lt;/td&gt;
&lt;td&gt;Đánh giá lại trong 1 giờ.&lt;br&gt;Cho tới 3 liều bolus trong 24 giờ nếu được chỉ đinh trong ô.&lt;/td&gt;
&lt;/tr&gt;

&lt;tr class=&quot;w3-pale-red&quot;&gt;
&lt;td&gt;Với các ô: 11,12 cho nước muối sinh lý, dịch tinh thể cân bằng (plasmalyte) hoặc Ringer lactate bolus 15 mL/kg, 1 đơn vị hồng cầu khối hoặc 25 g Albumin 25%.&lt;/td&gt;
&lt;td&gt;Đánh giá lại trong 4giờ.&lt;br&gt;Thêm liều bolus theo chỉ định của bác sĩ điều trị.&lt;/td&gt;
&lt;/tr&gt;

&lt;tr class=&quot;w3-light-grey&quot;&gt;
&lt;td&gt;Với các ô: 1,2,9,10 &lt;b class=&quot;w3-text-pink&quot;&gt;Dopamine&lt;/b&gt; bắt đầu với liều 5 mcg/kg/phút.&lt;/td&gt;
&lt;td&gt;Tăng lên 5 mcg/kg/phút cho đến khi CI &amp;gt; 2.5&lt;/td&gt;
&lt;/tr&gt;

&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;br&gt;Nếu Furosemide không có sẵn có thể thay thế bằng dumetanide với tỷ lệ quy đổi 40:1 (furosemide 40 mg = bumetanide 1 mg).&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Ngừng điều trị thuốc lợi tiểu trong suy thận (được định nghĩa là phụ thuộc vào lọc máu, thiểu niệu với Creatinine &amp;gt; 3 mg/dL, hoặc thiểu niệu với Creatinine 0-3 mg/dL với chỉ số tiết niệu cho thấy suy thận cấp) và ngừng cho đến 12 giờ sau khi dùng liều bolus dịch hoặc thuốc vận mạch cuối cùng.&lt;/div&gt;&lt;div&gt;&lt;br&gt;
Bolus dịch lý tưởng nhất được cho ở những bệnh nhân được chứng minh đáp ứng với truyền dịch bằng cách sử dụng phương pháp thăm dò động khách quan để giảm thiểu việc sử dụng dịch tinh thể hoặc dịch keo một cách không cần thiết, Bệnh nhân được xem xét đáp ứng với truyền dịch nếu thay đổi áp lực mạch (PPV) giảm &amp;lt; 13%, chỉ số giãn IVC theo hô hấp giảm &amp;lt; 18%, và thay đổi chỉ số thể tích nhát bóp tăng lên &amp;gt; 10%. Xem thêm &lt;a href=&quot;#menu_cap3_3516&quot; class=&quot;w3-text-blue&quot;&gt;phần theo dõi huyết động.&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  
&lt;div id=&quot;menu_cap2_4966&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Thuốc chẹn thần kinh cơ (NMB)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Hiệu quả của thuốc chẹn thần kinh cơ (sử dụng cisatracurium trong 48 giờ) trong các thử nghiệm (ACURASYS 2010, ROSE 2019) ở bệnh nhân ARDS có mức P/F &amp;lt; 150 mmHg cho thấy không giảm tỷ lệ tử vong đáng kể so với giả dược. Trong thử nghiệm ACURASYS 2010 dữ liệu sau khi được điều chỉnh có giảm tỷ lệ tử vong trong 90 ngày ở nhóm bệnh nhân ARDS nặng P/F &amp;lt; 120 mmHg, giảm được số ngày thở máy và ít khả năng bị chấn thương phổi do áp lực hơn đáng kể trong 28 và 90 ngày so với giả dược.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Vì vậy, không khuyến cáo sử dụng thường quy thuốc chẹn thần kinh cơ(NMB) cho bệnh nhân ARDS.&amp;nbsp; Với dữ liệu hiện tại, có thể xem xét sử dụng cho bệnh nhân ARDS:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Giảm oxy máu&amp;nbsp; nặng kháng trị với các liệu pháp tiêu chuẩn&lt;/li&gt;&lt;li&gt;Những bệnh nhân rối loạn đồng bộ máy thở nghiêm trọng đã kháng trị với điều chỉnh máy thở và an thần, đặc biệt là dẫn đến kích hoạt kép (ví dụ: di chuyển vận động không mong muốn, chẳng hạn như run rẩy do hạ thân nhiệt).&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;NMB giúp tạo điều kiện thuận lợi cho thông khí cơ học: tăng độ giãn nở thành ngực, ngăn ngừa các cử động hô hấp phối hợp kém, giảm áp lực đỉnh đường thở, và tạo điều kiện thuận lợi cho việc tăng CO&lt;sub&gt;2&lt;/sub&gt; ở mức cho phép.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Tuy nhiên, cần cân nhắc những bất lợi của việc phối hợp NMB với glucocorticoid, vì cả hai thuốc này đều liên quan đến sự phát triển bệnh cơ và bệnh đa dây thần kinh nghiêm trọng.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Xem thêm liều lượng thuốc: &lt;a href=&quot;?id=bantin&amp;amp;idnhom=37&amp;amp;idtin=347&quot; class=&quot;w3-text-blue&quot;&gt;An thần, giảm đau, giãn cơ ở bệnh nhân thở máy trong ICU&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;
    	
   
&lt;div id=&quot;menu_cap2_4967&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Thuốc giãn mạch phổi dạng hít&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Thuốc giãn mạch phổi dạng hít có khả năng làm giãn mạch có chọn lọc các mạch máu ở vùng phổi được tưới máu tốt, dẫn đến cải thiện oxy hóa do tương xứng thông khí/tưới máu(V/Q) tốt hơn và cũng có thể góp phần cải thiện thiếu oxy ở bệnh nhân tăng áp phổi. Do đó, ở những bệnh nhân ARDS nặng bị giảm oxy máu kháng trị với các liệu pháp điều trị tiêu chuẩn, thuốc giãn mạch phổi dạng hít (Oxit nitric [NO] hoặc prostaglandin [prostacyclin như eporostenol, iloprost]) có thể được sử dụng để cải thiện quá trình oxy hóa. Đặc biệt hữu ích ở bệnh nhân ARDS có tăng áp động mạch phổi mất bù hoặc cấp tính và rối loạn chức năng tim phải. Tuy nhiên, chúng chưa cho thấy làm giảm tỷ lệ bệnh tật và tử vong, cũng như đáp ứng là không chắc chắn, và tác dụng phụ tiềm ẩn có thể xảy ra:&lt;div&gt;&lt;ul&gt;&lt;li&gt;NO: hạ huyết áp, methemoglobin máu, suy thận&lt;/li&gt;&lt;li&gt;Prostacyclin: hạ huyết áp, đau ngực, chảy máu, đỏ bừng da, đau đầu, buồn nôn và nôn ói.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Đánh giá đáp ứng trong vòng 24 giờ đầu tiên&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Đáp ứng đáng kể chẳng hạn như cải thiện P/F từ 10 - 20 % trở lên, với trường hợp đáp ứng tiếp tục sử dụng nhưng tránh kéo dài (ví dụ vài ngày, nhất là NO).&lt;/li&gt;&lt;li&gt;Không đáp ứng: ngừng sử dụng.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Lựa chọn thuốc, tùy tính sẵn có của cơ sở y tế, chi phí NO dạng hít cao hơn, nhưng thường có sẵn ở cơ sở chăm sóc nhi khoa sơ sinh có tăng áp phổi:&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;NO dạng hít: một số phân tích tổng hợp cho thấy cải thiện oxy hóa máu khiêm tốn, thoáng qua mà không cải thiện tỷ lệ tử vong, thời gian thở máy hoặc số ngày không thở máy khi so sánh với giả dược hoặc điều trị thông thường. Tuy nhiên, các nghiên cứu hồi cứu gợi ý rằng những bệnh nhân không bị nhiễm trùng huyết mà có sức cản mạch phổi nền cao, và những bệnh nhân đáp ứng với PEEP có thể tăng khả năng đáp ứng với NO dạng hít. NO dạng hít được sử dụng bằng cách trọn NO và oxy có áp suất thấp và điều chỉnh lưu lượng NO bằng van, cung cấp cho bệnh nhân bằng mặt nạ chuyên dụng hoặc dạng ngạnh mũi ở bệnh nhân thở tự nhiên hoặc qua máy thở cho bệnh nhân thở máy. Khi sử dụng trong hơn vài ngày, không nên ngừng thuốc đột ngột mà phải giảm liều từ từ (giảm 10/triệu trong vài ngày), đến khi đạt liều 10/triệu có thể ngừng sử dụng.&lt;/li&gt;&lt;li&gt;Prostaglandin dạng hít: cải thiện oxy hóa máu và giảm áp động mạch phổi trong 25 nghiên cứu. Ưu điểm của prostacyclin so với NO là không yêu cầu thiết bị phức tạp để sử dụng. Lưu ý, không ngừng thuốc đột ngột, khi muốn ngừng thuốc nên giảm liều từ từ (ví dụ: 10 ng/kg/giờ).&lt;/li&gt;&lt;/ul&gt;Phác đồ sử dụng Epoprostenol:&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Liều cố định, hít liên tục: bắt đầu: sử dụng dung dịch 20.000 ng/mL và phun khí dung với tốc độ 8 mL/giờ, điều chỉnh giảm dần liều dựa trên đáp ứng lâm sàng bằng cách giảm xuống 10.000 ng/mL trong khi tiếp tục phun khí dung với tốc độ 8 mL/giờ, ngừng thuốc dựa trên đáp ứng lâm sàng.&lt;/li&gt;&lt;li&gt;Liều dựa trên cân nặng: &lt;b&gt;cách 1:&lt;/b&gt;&amp;nbsp;Hít liên tục, bắt đầu: 50 ng/kg/phút (sử dụng cân nặng lý tưởng); điều chỉnh giảm liều bằng cách giảm 10 mg/kg/phút sau mỗi 1 - 4 giờ dựa trên đáp ứng lâm sàng; liều tối đa 50 ng/kg/phút. &lt;b&gt;HOẶC&amp;nbsp; cách 2: &lt;/b&gt;hít liên tục, bắt đầu 10 ng/kg/phút (sử dụng cân nặng lý tưởng), điều chỉnh liều tăng lên bằng cách tăng 10 - 20 ng/kg/phút sau mỗi 15 phút dựa trên đáp ứng lâm sàng; một khi bệnh nhân ổn định và quyết định ngừng liệu pháp, điều chỉnh liều giảm xuống bằng cách giảm 10 ng/kg/phút sau mỗi 2 giờ dựa trên đáp ứng lâm sàng; liều tối đa 50 ng/kg/phút.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;
    	
   
&lt;div id=&quot;menu_cap2_4968&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Glucocorticoid&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
    	
   	
&lt;div id=&quot;menu_cap3_3512&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Chỉ định&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Bệnh nhân ARDS với:&lt;div&gt;&lt;ol&gt;&lt;li&gt;Tình trạng bệnh nền yêu cầu glucocorticoid toàn thân:&lt;ul&gt;&lt;li&gt;ARDS là hậu quả của tiến triển của tình trạng đáp ứng với steroid (ví dụ: viêm phổi do tăng bạch cầu ái toan, viêm phổi tổ chức hóa).&lt;/li&gt;&lt;li&gt;ARDS liên quan với &lt;a href=&quot;?id=bantin&amp;amp;idnhom=36&amp;amp;idtin=172&quot; class=&quot;w3-text-blue&quot;&gt;sốc nhiễm trùng kháng trị&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;ARDS liên quan đến &lt;a href=&quot;?id=bantin&amp;amp;idnhom=66&amp;amp;idtin=580&quot; class=&quot;w3-text-blue&quot;&gt;COVID-19&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;ARDS liên quan đến viêm phổi mắc phải cộng đồng (cần thở máy không xâm lấn hoặc xâm lấn hoặc P/F &amp;lt; 300 mmHg với FiO2 ≥ 50% khi sử dụng HFNC hoặc mask túi không hít lại) không phải nguyên nhân do cúm/lao/nấm, không nên sử dụng cho bệnh nhân nhiễm virus viêm gan B, herpes đang hoạt động, cân nhắc cá thể hóa ở bệnh nhân suy giảm miễn dịch.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Bệnh nhân ARDS mức độ trung bình đến nặng (P/F &amp;lt; 200 mmHg) ở giai đoạn tương đối sớm (trong vòng 14 ngày từ khi khởi phát triệu chứng) thất bại với các liệu pháp tiêu chuẩn(bao gồm cả thông khí Vt thấp).&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3513&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Phác đồ&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;Methylprednisolone 1 mg/kg/ngày (theo cân nặng lý tưởng) IV chia thành nhiều lần trong 14 ngày, sau đó giảm dần liều trong tổng thời gian điều trị 21 - 28 ngày.&lt;/li&gt;&lt;li&gt;Dexamethasone 20 mg IV một lần duy nhất trong ngày trong 5 ngày đầu, sau đó 10 mg một lần duy nhất trong ngày trong 5 ngày tiếp theo.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3514&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Tình trạng tránh dùng Glucocorticoid&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;ARDS nhẹ P/F&amp;nbsp;≥ 200 mmHg không sử dụng một cách thường quy.&lt;/li&gt;&lt;li&gt;ARDS giai đoạn muộn &amp;gt; 14 ngày kể từ khi khởi phát, có thể có hại, tăng tỷ lệ tử vong. Ở những bệnh nhân ARDS kháng trị/ dai dẳng &amp;gt; 14 ngày có thể thực hiện các chẩn đoán bổ sung (ví dụ: nội soi phế quản, sinh thiết phổi) để tìm nguyên nhân có thể khác, liệu pháp Glucocorticoid trong giai đoạn này có thể phù hợp ở một số bệnh nhân như viêm phổi tổ chức hóa.&lt;/li&gt;&lt;li&gt;Bệnh nhân nhiễm cúm: có thể dẫn đến kết cục tồi tệ.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
	
	
			  
&lt;div id=&quot;menu_cap2_4969&quot; class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Các điều trị hỗ trợ khác&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
    	
   	
&lt;div id=&quot;menu_cap3_3515&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;An thần và giảm đau&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Tránh an thần quá mức và nên sử dụng các thang điểm để đạt được mức an thần nhẹ. Xem thêm:&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=37&amp;amp;idtin=347&quot; class=&quot;w3-text-blue&quot;&gt;An thần, giảm đau, giãn cơ trong thở máy, ICU&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=794&quot; title=&quot;&quot; class=&quot;w3-text-blue&quot;&gt;NPRS (Numerical Pain Rating Scale)&lt;/a&gt; thang xếp hạng mức độ đau theo số cho bệnh nhân tự chọn khi không thể nói(rối loạn phát âm, đặt nội khí quản,..)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=528&quot; title=&quot;&quot; class=&quot;w3-text-blue&quot;&gt;Behavioral Pain Scale (BPS)&lt;/a&gt; đánh giá mức độ đau dựa trên hành vi.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=795&quot; title=&quot;&quot; class=&quot;w3-text-blue&quot;&gt;CPOT (Critical Care Pain Observation Tool)&lt;/a&gt; công cụ đánh giá đau dựa trên quan sát ở bệnh nhân hồi sức tích cực&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=514&quot; title=&quot;&quot; class=&quot;w3-text-blue&quot;&gt;RASS (Richmond Agitation Sedation Scale)&lt;/a&gt; thang điểm an thần kính động Richmond dành cho bệnh nhân đặt nội khí quản thở máy&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=797&quot; title=&quot;&quot; class=&quot;w3-text-blue&quot;&gt;SAS (Sedation Agitation Scale) Riker&lt;/a&gt; thang điểm an thần kích động Riker&lt;/li&gt;

&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=798&quot; title=&quot;&quot; class=&quot;w3-text-blue&quot;&gt;RAMSAY Sedation Scale&lt;/a&gt; thang điểm an thần RAMSAY&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3516&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Theo dõi huyết động&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Bệnh nhân ARDS theo dõi các dấu hiệu sinh tồn và hệ thống kết nối qua màn hình trung tâm. Việc theo dõi huyết động có thể cần phải &lt;a href=&quot;?id=bantin&amp;amp;idnhom=38&amp;amp;idtin=252&quot; class=&quot;w3-text-blue&quot;&gt;đặt catheter động mạch&lt;/a&gt; và &lt;a href=&quot;?id=bantin&amp;amp;idnhom=38&amp;amp;idtin=253&quot; class=&quot;w3-text-blue&quot;&gt;tĩnh mạch trung tâm&lt;/a&gt;, đặc biệt với việc sử dụng &lt;a href=&quot;?id=bantin&amp;amp;idnhom=38&amp;amp;idtin=994&quot; class=&quot;w3-text-blue&quot;&gt;PICCO&lt;/a&gt;&amp;nbsp;giúp quản lý dịch trong phổi hiệu quả hơn. Tuy nhiên việc sử dụng &lt;a href=&quot;?id=bantin&amp;amp;idnhom=38&amp;amp;idtin=260&quot; class=&quot;w3-text-blue&quot;&gt;catheter động mạch phổi&lt;/a&gt; thường quy với dữ liệu hiện tại đã không còn được khuyến cáo. Siêu âm tại giường để theo dõi huyết động được sử dụng ngày càng nhiều để quản lý dịch(&lt;a href=&quot;?id=bantin&amp;amp;idnhom=25&amp;amp;idtin=884&quot; class=&quot;w3-text-blue&quot;&gt;đường B trên siêu âm phổi&lt;/a&gt;, độ xẹp IVC, CO siêu âm tim qua thành ngực) ở bệnh nhân sốc. Xem thêm:&lt;div&gt;&lt;ul&gt;

&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=38&amp;amp;idtin=262&quot; class=&quot;w3-text-blue&quot;&gt;Theo dõi chức năng huyết động&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=38&amp;amp;idtin=261&quot; class=&quot;w3-text-blue&quot;&gt;Theo dõi huyết động thay thế&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=36&amp;amp;idtin=1242&quot; class=&quot;w3-text-blue&quot;&gt;Nâng chân thụ động&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=600&quot; class=&quot;w3-text-blue&quot;&gt;IVC (Inferior Vena Cava)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=601&quot; class=&quot;w3-text-blue&quot;&gt;Cardiac Output (CO) by Echo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3517&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Hỗ trợ dinh dưỡng&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Bệnh nhân ARDS dị hóa mạnh và hỗ trợ dinh dưỡng có thể giúp bù đắp sự mất mất do quá trình dị hóa này và điều chỉnh đáp ứng trao đổi chất với stress, giảm thiểu tổn thương tế bào do oxy hoá, và thúc đẩy các đáp ứng miễn dịch có lợi. Xem thêm: &lt;a href=&quot;?id=bantin&amp;amp;idnhom=61&amp;amp;idtin=251&quot; class=&quot;w3-text-blue&quot;&gt;Dinh dưỡng trong HSCC&lt;/a&gt;.&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3518&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Kiểm soát Glucose máu&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Trong hầu hết các khuyến cáo nên duy trì mức đường huyết 7.7 - 10.0 mmol/L(140 - 180 mg/dL), một mức đường huyết có thể chấp nhận được 6.0 - 10 mmol/L và tránh hạ đường huyết. Xem thêm:&amp;nbsp;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=41&amp;amp;idtin=208&quot; class=&quot;w3-text-blue&quot;&gt;Kiểm soát đường huyết trong HSCC&lt;/a&gt;&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3519&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Phòng ngừa viêm phổi bệnh viện&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Phòng ngừa &lt;a href=&quot;?id=bantin&amp;amp;idnhom=37&amp;amp;idtin=214&quot; class=&quot;w3-text-blue&quot;&gt;viêm phổi bệnh viện&lt;/a&gt; và gói &lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=792&quot; class=&quot;w3-text-blue&quot;&gt;VAP bundle&lt;/a&gt; để phòng ngừa viêm phổi do thở máy.&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3520&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Dự phòng thuyên tắc huyết khối tĩnh mạch (VTE)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Ở những bệnh nhân ARDS thường có nhiều yếu tố nguy cơ gây huyết khối tĩnh mạch, bao gồm bất động kéo dài, chấn thương, và có khuynh hướng bệnh nặng như: nhiễm trùng huyết, béo phì, và bệnh ác tính. Xem thêm:&amp;nbsp;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=58&amp;amp;idtin=1071&quot; class=&quot;w3-text-blue&quot;&gt;Dự phòng thuyên tắc huyết khối tĩnh mạch ở bệnh nhân điều trị tích cực (ICU)&lt;/a&gt;.&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3521&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Dự phòng loét dạ dày do stress&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Bệnh nhân ARDS cần thở máy kéo dài có nguy cơ cao bị xuất huyết tiêu hóa và cần điều trị dự phòng loét dạ dày do stress. Xem thêm:&amp;nbsp;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=516&quot; title=&quot;&quot; class=&quot;w3-text-blue&quot; style=&quot;&quot;&gt;Tiêu chuẩn dự phòng xuất huyết tiêu hóa&lt;/a&gt; ở bệnh nhân hồi sức theo BMJ.&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3522&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Đường truyền tĩnh mạch&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Trong khi đường truyền tĩnh mạch ngoại vi là hình thức tiếp cận nhanh để xử trí ban đầu, nhưng bệnh nhân ARDS nặng &lt;a href=&quot;?id=bantin&amp;amp;idnhom=38&amp;amp;idtin=253&quot; class=&quot;w3-text-blue&quot;&gt;đường truyền tĩnh mạch trung tâm (CVC)&lt;/a&gt; có nhiều lợi thế bổ sung như: sử dụng thuốc vận mạch, lấy máu xét nghiệm, đo CVP, truyền dung dịch ưu trương, dinh dưỡng tĩnh mạch... Việc chăm sóc đường truyền trung tâm để phòng ngừa nhiễm trùng huyết liên quan đến đường truyền trung tâm có thể áp dụng gói &lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=1259&quot; class=&quot;w3-text-blue&quot;&gt;Central Line Bundle&lt;/a&gt;. Ngoài đường truyền tĩnh mạch, &lt;a href=&quot;?id=bantin&amp;amp;idnhom=38&amp;amp;idtin=252&quot; class=&quot;w3-text-blue&quot;&gt;đường truyền động mạch&lt;/a&gt; cũng có thể được sử dụng trong trường hợp theo dõi huyết động, lấy máu làm khí máu thường xuyên.&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3523&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Thuốc tiêu nhầy&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Bằng chứng hiện tại cho thấy rằng việc sử dụng thuốc tiêu nhày (long đàm) thường quy không có vai trò gì trong ARDS.&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3524&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Kiểm soát sốt&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;Việc xử trí sốt tương tự như những bệnh nhân ICU khác.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3525&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Truyền máu và chế phẩm máu&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Xem thêm: &lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=803&quot; class=&quot;w3-text-blue&quot;&gt;Chỉ định truyền máu và chế phẩm máu&lt;/a&gt;.&lt;/div&gt;
	
	
			  	
&lt;div id=&quot;menu_cap3_3526&quot; class=&quot;w3-margin-top&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Kháng sinh&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Do tính chất tiến triển nhanh chóng và tỷ lệ tử vong cao liên quan đến ARDS, kháng sinh thường được bắt đầu theo kinh nghiệm tùy theo nguyên nhân. Ở những bệnh nhân ARDS đã tiếp xúc với kháng sinh trước đó và sự thay đổi của hệ vi sinh vật ở phổi thường rất phức tạp do các vi sinh vật đa kháng thuốc, chẳng hạn như: Staphylococus aureus (tụ cầu vàng), Pseudomonas aeruginosa (trực khuẩn mủ xanh), và Acinetobacter, liên quan đến kết cục xấu. Xem thêm:&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=565&quot; class=&quot;w3-text-blue&quot;&gt;Sử dụng kháng sinh theo kinh nghiệm&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;?id=bantin&amp;amp;idnhom=9&amp;amp;idtin=124&quot; class=&quot;w3-text-blue&quot;&gt;Kháng sinh kinh nghiệm trong nhiễm khuẩn huyết và sốc nhiễm khuẩn&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			
&lt;div class=&quot;w3-margin-top w3-hide-large&quot;&gt;
&lt;b id=&quot;chudelienquan&quot; class=&quot;w3-text-black&quot;&gt;CHỦ ĐỀ LIÊN QUAN&lt;/b&gt;
&lt;div class=&quot;w3-leftbar w3-border-blue w3-pale-blue w3-padding w3-round&quot;&gt;

&lt;a href=&quot;?id=bantin&amp;amp;idnhom=8&amp;amp;idtin=443&quot; class=&quot;w3-text-blue&quot;&gt;Hội chứng suy hô hấp cấp tiến triển ARDS&lt;/a&gt;&lt;br&gt;

&lt;a href=&quot;?id=bantin&amp;amp;idnhom=67&amp;amp;idtin=671&quot; class=&quot;w3-text-blue&quot;&gt;Hội chứng suy hô hấp cấp tiến triển (ARDS)&lt;/a&gt;&lt;br&gt;

&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=789&quot; class=&quot;w3-text-blue&quot;&gt;ARDS (Berlin Criteria 2012)&lt;/a&gt;&lt;br&gt;

&lt;a href=&quot;?id=bantin&amp;amp;idnhom=37&amp;amp;idtin=827&quot; class=&quot;w3-text-blue&quot;&gt;Thở máy cho bệnh nhân hội chứng nguy kịch hô hấp cấp tính (ARDS)&lt;/a&gt;&lt;br&gt;

&lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=1165&quot; class=&quot;w3-text-blue&quot;&gt;Định nghĩa toàn cầu mới về ARDS 2023&lt;/a&gt;&lt;br&gt;

&lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;!-- het phong to thu nho --&gt;
&lt;div class=&quot;w3-margin-top&quot;&gt;
&lt;b id=&quot;tailieuthamkhao&quot; class=&quot;w3-text-black&quot;&gt;TÀI LIỆU THAM KHẢO&lt;/b&gt;
&lt;div&gt;&lt;ol&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;Formal guidelines: management of acute respiratory distress syndrome. AIC 2019&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://annalsofintensivecare.springeropen.com/articles/10.1186/s13613-019-0540-9&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;Formal guidelines: management of acute respiratory distress syndrome. AIC 2019&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;Epoprostenol: Drug information. Uptodate 2023&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://www.uptodate.com/contents/epoprostenol-drug-information&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;Epoprostenol: Drug information. Uptodate 2023&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;Inhaled nitric oxide in adults: Biology and indications for use. Uptodate 2023&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://www.uptodate.com/contents/inhaled-nitric-oxide-in-adults-biology-and-indications-for-use&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;Inhaled nitric oxide in adults: Biology and indications for use. Uptodate 2023&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;Acute Respiratory Distress Syndrome; A Review of Recent Updates and a Glance into the Future. 2023&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10177247/&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;Acute Respiratory Distress Syndrome; A Review of Recent Updates and a Glance into the Future. 2023&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;ESICM guidelines on acute respiratory distress syndrome: definition, phenotyping and respiratory support strategies. 2023&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://link.springer.com/epdf/10.1007/s00134-023-07050-7?sharing_token=QJazo69HoVsPZGs8beJBYfe4RwlQNchNByi7wbcMAY6vk0J3NVM4KJjcbUnRgfSSFgHSIvNgSu7-5LohPhoGEGLbZ3pjk4Vd4p0udGBsA8ACfPuzjRiXtJV5WSXGwRev4sHaULjv-Y-AVVYoEY8Ji1KBTJ6Rf6uGRTXavVMXMPc=&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;ESICM guidelines on acute respiratory distress syndrome: definition, phenotyping and respiratory support strategies. 2023&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt; A New Global Definition of Acute Respiratory Distress Syndrome. 2023. ATS&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://www.atsjournals.org/doi/abs/10.1164/ajrccm-conference.2023.207.1_MeetingAbstracts.A6229&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt; A New Global Definition of Acute Respiratory Distress Syndrome. 2023. ATS&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;Acute respiratory distress syndrome: Clinical features, diagnosis, and complications in adults. Uptodate 2023&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://www.uptodate.com/contents/acute-respiratory-distress-syndrome-clinical-features-diagnosis-and-complications-in-adults&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;Acute respiratory distress syndrome: Clinical features, diagnosis, and complications in adults. Uptodate 2023&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;Concise Critical Appraisal: The Efficacy of ECMO for Severe ARDS. SCCM 2018&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://www.sccm.org/Blog/June-2018/Concise-Critical-Appraisal-The-Efficacy-of-ECMO-f&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;Concise Critical Appraisal: The Efficacy of ECMO for Severe ARDS. SCCM 2018&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;Extracorporeal life support in adults: Management of venovenous extracorporeal membrane oxygenation (V-V ECMO). Uptodate 2023&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://www.uptodate.com/contents/extracorporeal-life-support-in-adults-management-of-venovenous-extracorporeal-membrane-oxygenation-v-v-ecmo&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;Extracorporeal life support in adults: Management of venovenous extracorporeal membrane oxygenation (V-V ECMO). Uptodate 2023&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;Áp dụng lâm sàng thở máy bệnh nhân ARDS - BS Đặng Thanh Tuấn&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=mKxu5X1hYjI&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;Áp dụng lâm sàng thở máy bệnh nhân ARDS - BS Đặng Thanh Tuấn&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;Protocol ARDS network 2008&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;http://www.ardsnet.org/files/ventilator_protocol_2008-07.pdf&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;Protocol ARDS network 2008&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;FACTT Algorithm: Composite Protocol and Footnotes. 2006&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://www.nejm.org/doi/suppl/10.1056/NEJMoa062200/suppl_file/nejmoa062200sa1.pdf&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;FACTT Algorithm: Composite Protocol and Footnotes. 2006&lt;/a&gt;&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;The Acute Respiratory Distress Syndrome. Marin H. Kollef. Critical Care 2018&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;The Acute Respiratory Distress Syndrome. Marin H. Kollef. Critical Care 2018&lt;/li&gt;

&lt;li class=&quot;w3-hide-large&quot;&gt;Fluid Management With a Simplified Conservative Protocol for the Acute Respiratory Distress Syndrome. Crit Care Med. Author manuscript; available in PMC 2016 Feb 1.&lt;/li&gt;
&lt;li class=&quot;w3-hide-small w3-hide-medium&quot;&gt;&lt;a href=&quot;https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4675623/&quot; target=&quot;_blank&quot; class=&quot;w3-text-blue&quot;&gt;Fluid Management With a Simplified Conservative Protocol for the Acute Respiratory Distress Syndrome. Crit Care Med. Author manuscript; available in PMC 2016 Feb 1.&lt;/a&gt;&lt;/li&gt;

&lt;/ol&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;script language=&quot;javascript&quot;&gt;
             
            function load_ajax_like()
            {
                $.ajax({
                    url : &quot;like.asp&quot;, // gửi ajax đến file ajaxhanatri.asp
                    type : &quot;get&quot;, // chọn phương thức gửi là get
                    dateType:&quot;text&quot;, // dữ liệu trả về dạng text
                    data : { // Danh sách các thuộc tính sẽ gửi đi
idbvlike: $(&#39;#idbvlike&#39;).val()
                    },
                    success : function (result_like){
                        // Sau khi gửi và kết quả trả về thành công thì gán nội dung trả về
                        // đó vào thẻ div có id = result_like
                        $(&#39;#result_like&#39;).html(result_like);
                    }
                });
            } 
     
        &lt;/script&gt;
		&lt;input type=&quot;hidden&quot; name=&quot;idbvlike&quot; id=&quot;idbvlike&quot; value=&quot;188&quot;&gt;

&lt;div class=&quot;w3-col w3-border-top w3-text-grey&quot;&gt;
  &lt;div class=&quot;w3-col s6 w3-left-align&quot;&gt;
    &lt;span id=&quot;result_like&quot;&gt;&lt;strong class=&quot;w3-text-gray&quot;&gt;0&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&lt;i class=&quot;fas fa-heart w3-text-pink&quot;&gt;&lt;/i&gt;&lt;/span&gt;, &lt;strong class=&quot;w3-text-gray&quot;&gt;0&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&lt;i class=&quot;fas fa-comment w3-text-teal&quot;&gt;&lt;/i&gt; &lt;span class=&quot;w3-small&quot;&gt;bình luận&lt;/span&gt;
  &lt;/div&gt;
  &lt;div class=&quot;w3-col s6 w3-right-align&quot;&gt;
   &lt;i class=&quot;fas fa-eye w3-small&quot;&gt;&lt;/i&gt; &lt;strong class=&quot;w3-text-gray&quot;&gt;7092&lt;/strong&gt;&amp;nbsp;&lt;span class=&quot;w3-small&quot;&gt;lượt xem&lt;/span&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;div class=&quot;w3-col w3-text-grey w3-border-top w3-margin-bottom&quot;&gt;
  &lt;div class=&quot;w3-col s4 w3-center&quot;&gt;
    &lt;a id=&quot;clickme&quot; onclick=&quot;load_ajax_like()&quot; class=&quot;w3-margin-bottom&quot;&gt;&lt;i class=&quot;far fa-thumbs-up w3-large&quot;&gt;&lt;/i&gt; thích&lt;/a&gt;
  &lt;/div&gt;
  &lt;div class=&quot;w3-col s4 w3-center&quot;&gt;
   &lt;span onclick=&quot;document.getElementById(&#39;tinhnangbinhluan&#39;).style.display=&#39;block&#39;&quot;&gt;&lt;i class=&quot;far fa-comment w3-large&quot;&gt;&lt;/i&gt; bình luận&lt;/span&gt;
  &lt;/div&gt;
  &lt;div class=&quot;w3-col s4 w3-center&quot;&gt;&lt;span onclick=&quot;document.getElementById(&#39;chiase&#39;).style.display=&#39;block&#39;&quot;&gt;&lt;i class=&quot;far fa-qrcode&quot;&gt;&lt;/i&gt; chia sẻ&lt;/span&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;!-- chi tiết chia sẻ--&gt;
&lt;style&gt;
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: &quot;&quot;;
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
&lt;/style&gt;

  &lt;div id=&quot;chiase&quot; class=&quot;w3-modal&quot;&gt;
    &lt;div class=&quot;w3-modal-content w3-animate-top w3-card-4 w3-round-large&quot;&gt;
        &lt;span onclick=&quot;document.getElementById(&#39;chiase&#39;).style.display=&#39;none&#39;&quot; class=&quot;w3-button w3-display-topright w3-circle w3-pink w3-animate-zoom&quot; style=&quot;margin-top: -20px; margin-right: 2px;&quot;&gt;×&lt;/span&gt;
       &lt;div class=&quot;w3-container w3-left-align&quot;&gt;&lt;br&gt;
	   &lt;h2 class=&quot;w3-text-indigo&quot;&gt;Chia sẻ &lt;i class=&quot;fad fa-link w3-text-blue&quot;&gt;&lt;/i&gt;&lt;/h2&gt;




&lt;div class=&quot;w3-row&quot;&gt;
&lt;div class=&quot;w3-col s6 w3-center&quot;&gt;
&lt;div class=&quot;tooltip&quot;&gt;
&lt;button onclick=&quot;myFunctioncopy()&quot; onmouseout=&quot;outFunc()&quot; class=&quot;w3-white w3-border w3-border-grey w3-round-xxlarge&quot;&gt;
  &lt;span class=&quot;tooltiptext&quot; id=&quot;myTooltip&quot;&gt;Sao cheo địa chỉ liên kết&lt;/span&gt;
  &lt;i class=&quot;fad fa-clone w3-text-blue&quot;&gt;&lt;/i&gt; Sao chép&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;w3-col s6 w3-center&quot;&gt;&lt;button class=&quot;w3-white w3-border w3-border-grey w3-round-xxlarge&quot; id=&quot;qr_img&quot;&gt;&lt;i class=&quot;fad fa-clone w3-text-blue&quot;&gt;&lt;/i&gt; Mã QR-CODE&lt;/button&gt;&lt;/div&gt;
&lt;/div&gt;

  &lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot;&gt;
         $(document).ready(function() {
            $(&quot;#qr_img&quot;).click(function(event){
               $(&#39;#maqrcode&#39;).load(&#39;qr_img.asp?idqr=37.188&#39;);
            });
         });
     &lt;/script&gt;
&lt;center&gt;
&lt;div id=&quot;maqrcode&quot;&gt;&lt;/div&gt;


&lt;div class=&quot;w3-padding&quot;&gt;&lt;input type=&quot;text&quot; value=&quot;https://vip.hscc.vn/qr.asp?id=37.188&quot; id=&quot;myInputx&quot; class=&quot;w3-round-xxlarge w3-white w3-padding&quot; style=&quot;padding:2px;display:block;border:none;border-bottom:1px solid #ccc;width:100%; outline: 0;&quot;&gt;
&lt;/div&gt;

&lt;br&gt;
	       
	   &lt;p class=&quot;w3-center&quot;&gt;&lt;button class=&quot;w3-btn w3-round-xxlarge w3-green w3-animate-zoom&quot; onclick=&quot;document.getElementById(&#39;chiase&#39;).style.display=&#39;none&#39;&quot;&gt;Đóng&lt;/button&gt;&lt;/p&gt;
	   &lt;/center&gt;
     &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
function myFunctioncopy() {
  var copyText = document.getElementById(&quot;myInputx&quot;);
  copyText.select();
  copyText.setSelectionRange(0, 99999);
  navigator.clipboard.writeText(copyText.value);
  
  var tooltip = document.getElementById(&quot;myTooltip&quot;);
  tooltip.innerHTML = &quot;Đã sao chép: &quot; + copyText.value;
}

function outFunc() {
  var tooltip = document.getElementById(&quot;myTooltip&quot;);
  tooltip.innerHTML = &quot;Copy to clipboard&quot;;
}
&lt;/script&gt;
&lt;!-- hết chia sẻ --&gt;
&lt;!-- tính năng chia sẻ THÔNG BÁO--&gt;
  &lt;div id=&quot;tinhnangbinhluan&quot; class=&quot;w3-modal&quot;&gt;
    &lt;div class=&quot;w3-modal-content w3-animate-top w3-card-4 w3-round-large&quot;&gt;
        &lt;span onclick=&quot;document.getElementById(&#39;tinhnangbinhluan&#39;).style.display=&#39;none&#39;&quot; class=&quot;w3-button w3-display-topright w3-circle w3-pink w3-animate-zoom&quot; style=&quot;margin-top: -20px; margin-right: 2px;&quot;&gt;×&lt;/span&gt;
       &lt;div class=&quot;w3-container w3-left-align&quot;&gt;&lt;br&gt;
	   &lt;h2 class=&quot;w3-text-indigo&quot;&gt;Bình luận &lt;i class=&quot;far fa-comment w3-text-blue&quot;&gt;&lt;/i&gt;&lt;/h2&gt;
	   &lt;div class=&quot;w3-text-gray&quot;&gt;Tính năng bình luận tạm thời chưa kích hoạt&lt;/div&gt;
&lt;center&gt;
   &lt;p class=&quot;w3-center&quot;&gt;&lt;button class=&quot;w3-btn w3-round-xxlarge w3-green w3-animate-zoom&quot; onclick=&quot;document.getElementById(&#39;tinhnangbinhluan&#39;).style.display=&#39;none&#39;&quot;&gt;Đóng&lt;/button&gt;&lt;/p&gt;&lt;/center&gt;
     &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- hết tính năng chia sẻ --&gt;
&lt;!-- Tạm ẩn tính năng bình luận ở đây bantin_binhluan.asp --&gt;
&lt;/div&gt;
 &lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2024/07/ards.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-2863757528384428787</guid><pubDate>Thu, 04 Jul 2024 08:14:00 +0000</pubDate><atom:updated>2024-07-04T15:14:18.255+07:00</atom:updated><title>Định nghĩa toàn cầu mới về ARDS 2023</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;w3-container w3-w8&quot; style=&quot;height: auto !important;&quot;&gt;


&lt;form action=&quot;&quot; id=&quot;tenthangdiem1165&quot; onsubmit=&quot;return false;&quot;&gt;
&lt;div style=&quot;margin-left:-16px; margin-right:-16px; padding:0px;border:0px solid #f1f1f1;&quot;&gt;
 &lt;table class=&quot;w3-table w3-bordered&quot;&gt;
    &lt;tbody&gt;
&lt;tr class=&quot;w3-dark-gray&quot;&gt;
      &lt;th&gt;Tiêu chí&lt;/th&gt;
      &lt;th&gt;Điểm&lt;/th&gt;
     &lt;/tr&gt;




&lt;tr class=&quot;w3-light-gray&quot;&gt;
      &lt;td&gt;&lt;strong&gt;Hỗ trợ hô hấp tương đương với PEEP ≥ 5 cmH&lt;sub&gt;2&lt;/sub&gt;O&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;
     &lt;/td&gt;&lt;/tr&gt;   

  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; &lt;strong&gt;Ở bệnh nhân không đặt nội khí quản sử dụng HFNO &amp;lt; 30 lít/phút hoặc NIV/CPAP với PEEP &amp;lt; 5 cmH&lt;sub&gt;2&lt;/sub&gt;O&lt;/strong&gt;
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1013&quot; value=&quot;tentieuchi4853&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  &lt;br&gt;Loại trừ
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;0&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; &lt;strong&gt;Sử dụng HFNO ≥ 30 lít/phút&lt;/strong&gt;
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1013&quot; value=&quot;tentieuchi4854&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  &lt;br&gt;Không đặt nội khí quản
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;1&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; &lt;strong&gt;Sử dụng NIV/CPAP với PEEP ≥ 5 cmH&lt;sub&gt;2&lt;/sub&gt;O&lt;/strong&gt;
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1013&quot; value=&quot;tentieuchi4855&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  &lt;br&gt;Không đặt nội khí quản
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;1&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; &lt;strong&gt;Thở máy xâm nhập với PEEP ≥ 5 cm H&lt;sub&gt;2&lt;/sub&gt;O&lt;/strong&gt;
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1013&quot; value=&quot;tentieuchi4856&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  &lt;br&gt;Đặt nội khí quản
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;1&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; &lt;strong&gt;Trong bối cảnh có nguồn lực hạn chế&lt;/strong&gt;
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1013&quot; value=&quot;tentieuchi5019&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  &lt;br&gt;Không yêu cầu các tiêu chí liên quan đến: PEEP, HFNO (oxy lưu lượng cao), hoặc thiết bị hỗ trợ hô hấp chuyên biệt (thở máy không xâm lấn (NIV/CPAP) hoặc thở máy xâm lấn).
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;1&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	
&lt;tr class=&quot;w3-light-gray&quot;&gt;
      &lt;td&gt;&lt;strong&gt;Giảm oxy hóa máu&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;
     &lt;/td&gt;&lt;/tr&gt;   

  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; &lt;strong&gt;PaO&lt;sub&gt;2&lt;/sub&gt;/FiO&lt;sub&gt;2&lt;/sub&gt; &amp;gt; 300 mmHg hoặc SpO&lt;sub&gt;2&lt;/sub&gt;/FiO&lt;sub&gt;2&lt;/sub&gt; &amp;gt; 315 mmHg&lt;/strong&gt;
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1014&quot; value=&quot;tentieuchi4857&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  &lt;br&gt;Loại trừ
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;0&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; &lt;strong&gt;PaO&lt;sub&gt;2&lt;/sub&gt;/FiO&lt;sub&gt;2&lt;/sub&gt; ≤ 300 mmHg&lt;/strong&gt;
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1014&quot; value=&quot;tentieuchi4858&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  &lt;br&gt;PaO&lt;sub&gt;2&lt;/sub&gt; trong xét nghiệm khí máu động máu (ABG)
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;1&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; &lt;strong&gt;SpO&lt;sub&gt;2&lt;/sub&gt; /FiO&lt;sub&gt;2&lt;/sub&gt; ≤ 315 mmHg với SpO&lt;sub&gt;2&lt;/sub&gt; ≤ 97%&lt;/strong&gt;
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1014&quot; value=&quot;tentieuchi4859&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  &lt;br&gt;SpO&lt;sub&gt;2&lt;/sub&gt; được đo bằng thiết bị đo Oxy xung mạch
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;1&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	
&lt;tr class=&quot;w3-light-gray&quot;&gt;
      &lt;td&gt;&lt;strong&gt;Mờ (thâm nhiễm không do tràn dịch màng phổi, xẹp thùy phổi, xẹp phổi hoặc nốt phổi) phổi 2 bên được xác định bởi&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;
     &lt;/td&gt;&lt;/tr&gt;   

  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; &lt;strong&gt;Không được xác định&lt;/strong&gt;
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1015&quot; value=&quot;tentieuchi4860&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  &lt;br&gt;Loại trừ
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;0&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; X-quang ngực
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1015&quot; value=&quot;tentieuchi4861&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;1&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; Chụp cắt lớp vi tính (CT) ngực
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1015&quot; value=&quot;tentieuchi4862&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;1&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; Siêu âm phổi (nếu người thực hiện được đào tạo tốt)
  &lt;input type=&quot;radio&quot; name=&quot;tennhomtieuchi1015&quot; value=&quot;tentieuchi4863&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;radiobtn&quot;&gt;&lt;/span&gt;
  
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;1&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	
&lt;tr class=&quot;w3-light-gray&quot;&gt;
      &lt;td&gt;&lt;strong&gt;Các tiêu chí còn lại trong định nghĩa ARDS (Berlin 2012)&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;
     &lt;/td&gt;&lt;/tr&gt;   

  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; Khởi phát đột ngột hoặc có các triệu chứng mới hoặc xấu đi trong vòng 7 ngày.
  &lt;input type=&quot;checkbox&quot; name=&quot;tentieuchi5017&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;checkmark&quot;&gt;&lt;/span&gt;
  
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;1&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	  
&lt;tr&gt;
      &lt;td&gt;    
	&lt;label class=&quot;checkcontainer&quot;&gt; Không có bằng chứng lâm sàng về tăng áp lực nhĩ trái (không do suy tim hoặc quá tải dịch)
  &lt;input type=&quot;checkbox&quot; name=&quot;tentieuchi5018&quot; onclick=&quot;calculatetenthangdiem1165()&quot;&gt;
  &lt;span class=&quot;checkmark&quot;&gt;&lt;/span&gt;
  
  &lt;/label&gt;
 &lt;/td&gt;
&lt;td&gt;&lt;span class=&quot;w3-light-grey w3-badge w3-text-grey&quot;&gt;1&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
		
	
&lt;tr class=&quot;w3-pink&quot;&gt;
      &lt;td&gt;Tổng điểm&lt;/td&gt;
      &lt;td&gt;&lt;div id=&quot;xtenthangdiem1165&quot; style=&quot;display: block;&quot;&gt;0&lt;/div&gt;&lt;/td&gt;
    &lt;/tr&gt;

&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;

&lt;!-- Hết phần khung nội dung --&gt;
&lt;/form&gt;












&lt;!-- Phần java tính toán--&gt;

&lt;script&gt;

 
 var i_tennhomtieuchi1013 = new Array();

 i_tennhomtieuchi1013[&quot;tentieuchi4853&quot;]=0;

 
 i_tennhomtieuchi1013[&quot;tentieuchi4854&quot;]=1;

 
 i_tennhomtieuchi1013[&quot;tentieuchi4855&quot;]=1;

 
 i_tennhomtieuchi1013[&quot;tentieuchi4856&quot;]=1;

 
 i_tennhomtieuchi1013[&quot;tentieuchi5019&quot;]=1;

  

 function tinhdiemtennhomtieuchi1013()
{  
    var diemtennhomtieuchi1013=0;
    var theForm = document.forms[&quot;tenthangdiem1165&quot;];
    var tennhomtieuchi1013 = theForm.elements[&quot;tennhomtieuchi1013&quot;];
    for(var i = 0; i &lt; tennhomtieuchi1013.length; i++)
    {
        if(tennhomtieuchi1013[i].checked)
        {
            diemtennhomtieuchi1013 = i_tennhomtieuchi1013[tennhomtieuchi1013[i].value];
            break;
        }
    }
     return diemtennhomtieuchi1013;
}

 
 var i_tennhomtieuchi1014 = new Array();

 i_tennhomtieuchi1014[&quot;tentieuchi4857&quot;]=0;

 
 i_tennhomtieuchi1014[&quot;tentieuchi4858&quot;]=1;

 
 i_tennhomtieuchi1014[&quot;tentieuchi4859&quot;]=1;

  

 function tinhdiemtennhomtieuchi1014()
{  
    var diemtennhomtieuchi1014=0;
    var theForm = document.forms[&quot;tenthangdiem1165&quot;];
    var tennhomtieuchi1014 = theForm.elements[&quot;tennhomtieuchi1014&quot;];
    for(var i = 0; i &lt; tennhomtieuchi1014.length; i++)
    {
        if(tennhomtieuchi1014[i].checked)
        {
            diemtennhomtieuchi1014 = i_tennhomtieuchi1014[tennhomtieuchi1014[i].value];
            break;
        }
    }
     return diemtennhomtieuchi1014;
}

 
 var i_tennhomtieuchi1015 = new Array();

 i_tennhomtieuchi1015[&quot;tentieuchi4860&quot;]=0;

 
 i_tennhomtieuchi1015[&quot;tentieuchi4861&quot;]=1;

 
 i_tennhomtieuchi1015[&quot;tentieuchi4862&quot;]=1;

 
 i_tennhomtieuchi1015[&quot;tentieuchi4863&quot;]=1;

  

 function tinhdiemtennhomtieuchi1015()
{  
    var diemtennhomtieuchi1015=0;
    var theForm = document.forms[&quot;tenthangdiem1165&quot;];
    var tennhomtieuchi1015 = theForm.elements[&quot;tennhomtieuchi1015&quot;];
    for(var i = 0; i &lt; tennhomtieuchi1015.length; i++)
    {
        if(tennhomtieuchi1015[i].checked)
        {
            diemtennhomtieuchi1015 = i_tennhomtieuchi1015[tennhomtieuchi1015[i].value];
            break;
        }
    }
     return diemtennhomtieuchi1015;
}

  

function tinhdiemtentieuchi5017()
{
    var diemtentieuchi5017=0;
    var theForm = document.forms[&quot;tenthangdiem1165&quot;];
    var tentieuchi5017 = theForm.elements[&quot;tentieuchi5017&quot;];

    if(tentieuchi5017.checked==true)
    {
        diemtentieuchi5017=1;
    }
       return diemtentieuchi5017;
}


  

function tinhdiemtentieuchi5018()
{
    var diemtentieuchi5018=0;
    var theForm = document.forms[&quot;tenthangdiem1165&quot;];
    var tentieuchi5018 = theForm.elements[&quot;tentieuchi5018&quot;];

    if(tentieuchi5018.checked==true)
    {
        diemtentieuchi5018=1;
    }
       return diemtentieuchi5018;
}




function calculatetenthangdiem1165()
{
    //Here we get the total price by calling our function
    //Each function returns a number so by calling them we add the values they return together
    var tongdiemtenthangdiem1165 = tinhdiemtennhomtieuchi1013() + tinhdiemtennhomtieuchi1014() + tinhdiemtennhomtieuchi1015() + tinhdiemtentieuchi5017() + tinhdiemtentieuchi5018() + 0;    
    //display the result
    var divobjk = document.getElementById(&#39;xtenthangdiem1165&#39;);
    divobjk.style.display=&#39;block&#39;;
    divobjk.innerHTML = tongdiemtenthangdiem1165;

}

function hideTotaltenthangdiem1165()
{
    var divobjk = document.getElementById(&#39;xtenthangdiem1165&#39;);
    divobjk.style.display=&#39;none&#39;;
}
&lt;/script&gt;

 &lt;!-- / Phần java ket thuc--&gt;


&lt;hr&gt;

&lt;b id=&quot;gioithieu&quot; class=&quot;w3-text-dark-grey w3-w8&quot;&gt;GIỚI THIỆU&lt;/b&gt;&lt;br&gt;
&lt;div class=&quot;w3-justify w3-w8&quot;&gt;Việc đưa thêm các tiêu chí mới như HFNO(Oxy qua mũi lưu lượng cao), tỷ lệ SpO&lt;sub&gt;2&lt;/sub&gt;/FiO&lt;sub&gt;2&lt;/sub&gt;, siêu âm phổi(ở người thực hiện được đào tạo tốt) để bổ sung mở rộng hoặc thay thế cho các tiêu chí &lt;a href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=789&quot; class=&quot;w3-text-blue&quot;&gt;ARDS 2012 (tại Berlin)&lt;/a&gt;, cũng như ở những nơi có nguồn lực y tế hạn chế không có đủ các thiết bị hỗ trợ hô hấp như &lt;a href=&quot;#&quot; class=&quot;google-anno&quot; style=&quot;border: 0px !important; box-shadow: none !important; display: inline !important; float: none !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; text-decoration: none !important; fill: currentcolor !important; color: rgb(0, 0, 0) !important;&quot;&gt;&lt;svg viewBox=&quot;100 -1000 840 840&quot; width=&quot;calc(17px - 2px)&quot; height=&quot;17px&quot; style=&quot;color-scheme: initial !important; forced-color-adjust: initial !important; mask: initial !important; math-depth: initial !important; position: initial !important; position-anchor: initial !important; appearance: initial !important; color: inherit !important; font: initial !important; font-palette: initial !important; font-synthesis: initial !important; inset-area: initial !important; text-orientation: initial !important; text-rendering: initial !important; text-spacing-trim: initial !important; -webkit-font-smoothing: initial !important; -webkit-locale: initial !important; -webkit-text-orientation: initial !important; -webkit-writing-mode: initial !important; writing-mode: initial !important; zoom: initial !important; accent-color: initial !important; place-content: initial !important; place-items: initial !important; place-self: initial !important; alignment-baseline: initial !important; anchor-name: initial !important; animation-composition: initial !important; animation: initial !important; app-region: initial !important; aspect-ratio: initial !important; backdrop-filter: initial !important; backface-visibility: initial !important; background: initial !important; background-blend-mode: initial !important; baseline-shift: initial !important; baseline-source: initial !important; block-size: initial !important; border-block: initial !important; border: 0px !important; border-radius: initial !important; border-collapse: initial !important; border-end-end-radius: initial !important; border-end-start-radius: initial !important; border-inline: initial !important; border-start-end-radius: initial !important; border-start-start-radius: initial !important; inset: initial !important; box-shadow: none !important; box-sizing: initial !important; break-after: initial !important; break-before: initial !important; break-inside: initial !important; buffered-rendering: initial !important; caption-side: initial !important; caret-color: initial !important; clear: initial !important; clip: initial !important; clip-path: initial !important; clip-rule: initial !important; color-interpolation: initial !important; color-interpolation-filters: initial !important; color-rendering: initial !important; columns: initial !important; column-fill: initial !important; gap: initial !important; column-rule: initial !important; column-span: initial !important; contain: initial !important; contain-intrinsic-block-size: initial !important; contain-intrinsic-size: initial !important; contain-intrinsic-inline-size: initial !important; container: initial !important; content: initial !important; content-visibility: initial !important; counter-increment: initial !important; counter-reset: initial !important; counter-set: initial !important; cursor: inherit !important; cx: initial !important; cy: initial !important; d: initial !important; display: inline !important; dominant-baseline: initial !important; empty-cells: initial !important; field-sizing: initial !important; fill: currentcolor !important; fill-opacity: initial !important; fill-rule: initial !important; filter: initial !important; flex: initial !important; flex-flow: initial !important; float: none !important; flood-color: initial !important; flood-opacity: initial !important; grid: initial !important; grid-area: initial !important; height: initial !important; hyphenate-character: initial !important; hyphenate-limit-chars: initial !important; hyphens: initial !important; image-orientation: initial !important; image-rendering: initial !important; initial-letter: initial !important; inline-size: initial !important; inset-block: initial !important; inset-inline: initial !important; isolation: initial !important; letter-spacing: initial !important; lighting-color: initial !important; line-break: initial !important; list-style: initial !important; margin-block: initial !important; margin: 0px !important; margin-inline: initial !important; marker: initial !important; mask-type: initial !important; math-shift: initial !important; math-style: initial !important; max-block-size: initial !important; max-height: initial !important; max-inline-size: initial !important; max-width: initial !important; min-block-size: initial !important; min-height: initial !important; min-inline-size: initial !important; min-width: initial !important; mix-blend-mode: initial !important; object-fit: initial !important; object-position: initial !important; object-view-box: initial !important; offset: initial !important; opacity: initial !important; order: initial !important; orphans: initial !important; outline: 0px !important; outline-offset: initial !important; overflow-anchor: initial !important; overflow-clip-margin: initial !important; overflow-wrap: initial !important; overflow: initial !important; overlay: initial !important; overscroll-behavior-block: initial !important; overscroll-behavior-inline: initial !important; overscroll-behavior: initial !important; padding-block: initial !important; padding: 0px !important; padding-inline: initial !important; page: initial !important; page-orientation: initial !important; paint-order: initial !important; perspective: initial !important; perspective-origin: initial !important; pointer-events: initial !important; position-try: initial !important; position-visibility: initial !important; quotes: initial !important; r: initial !important; resize: initial !important; rotate: initial !important; ruby-position: initial !important; rx: initial !important; ry: initial !important; scale: initial !important; scroll-behavior: initial !important; scroll-margin-block: initial !important; scroll-margin: initial !important; scroll-margin-inline: initial !important; scroll-padding-block: initial !important; scroll-padding: initial !important; scroll-padding-inline: initial !important; scroll-snap-align: initial !important; scroll-snap-stop: initial !important; scroll-snap-type: initial !important; scroll-timeline: initial !important; scrollbar-color: initial !important; scrollbar-gutter: initial !important; scrollbar-width: initial !important; shape-image-threshold: initial !important; shape-margin: initial !important; shape-outside: initial !important; shape-rendering: initial !important; size: initial !important; speak: initial !important; stop-color: initial !important; stop-opacity: initial !important; stroke: initial !important; stroke-dasharray: initial !important; stroke-dashoffset: initial !important; stroke-linecap: initial !important; stroke-linejoin: initial !important; stroke-miterlimit: initial !important; stroke-opacity: initial !important; stroke-width: initial !important; tab-size: initial !important; table-layout: initial !important; text-align: initial !important; text-align-last: initial !important; text-anchor: initial !important; text-combine-upright: initial !important; text-decoration: initial !important; text-decoration-skip-ink: initial !important; text-emphasis: initial !important; text-emphasis-position: initial !important; text-indent: initial !important; text-overflow: initial !important; text-shadow: initial !important; text-size-adjust: initial !important; text-transform: initial !important; text-underline-offset: initial !important; text-underline-position: initial !important; white-space: initial !important; timeline-scope: initial !important; touch-action: initial !important; transform: initial !important; transform-box: initial !important; transform-origin: initial !important; transform-style: initial !important; transition: initial !important; translate: initial !important; user-select: initial !important; vector-effect: initial !important; vertical-align: initial !important; view-timeline: initial !important; view-transition-class: initial !important; view-transition-name: initial !important; visibility: initial !important; border-spacing: initial !important; -webkit-box-align: initial !important; -webkit-box-decoration-break: initial !important; -webkit-box-direction: initial !important; -webkit-box-flex: initial !important; -webkit-box-ordinal-group: initial !important; -webkit-box-orient: initial !important; -webkit-box-pack: initial !important; -webkit-box-reflect: initial !important; -webkit-line-break: initial !important; -webkit-line-clamp: initial !important; -webkit-mask-box-image: initial !important; -webkit-print-color-adjust: initial !important; -webkit-rtl-ordering: initial !important; -webkit-ruby-position: initial !important; -webkit-tap-highlight-color: initial !important; -webkit-text-combine: initial !important; -webkit-text-decorations-in-effect: initial !important; -webkit-text-fill-color: unset !important; -webkit-text-security: initial !important; -webkit-text-stroke: initial !important; -webkit-user-drag: initial !important; widows: initial !important; width: initial !important; will-change: initial !important; word-break: initial !important; word-spacing: initial !important; x: initial !important; y: initial !important; z-index: initial !important;&quot;&gt;&lt;path d=&quot;m784-120-252-252q-30 24-69 38t-83 14q-109 0-184.5-75.5t-75.5-184.5q0-109 75.5-184.5t184.5-75.5q109 0 184.5 75.5t75.5 184.5q0 44-14 83t-38 69l252 252-56 56zm-404-280q75 0 127.5-52.5t52.5-127.5q0-75-52.5-127.5t-127.5-52.5q-75 0-127.5 52.5t-52.5 127.5q0 75 52.5 127.5t127.5 52.5z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&amp;nbsp;&lt;span class=&quot;google-anno-t&quot; style=&quot;border: 0px !important; box-shadow: none !important; display: inline !important; float: none !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; text-decoration: underline dotted !important;&quot;&gt;máy thở&lt;/span&gt;&lt;/a&gt; (NIV/CPAP) tiêu chí liên quan đến PEEP hay oxy lưu lượng cao(HFNO) thì có thể bỏ qua tiêu chí áp dụng cho các thiết bị hỗ trợ hô hấp này.

&lt;div class=&quot;w3-w8 w3-responsive&quot;&gt;
&lt;table class=&quot;w3-table w3-striped w3-vienbang&quot;&gt;
&lt;tbody&gt;
&lt;tr class=&quot;w3-blue-grey&quot;&gt;
&lt;th&gt;Điểm&lt;/th&gt;
&lt;th&gt;Ý nghĩa&lt;/th&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;0-4&lt;/td&gt;
&lt;td&gt;Chưa đủ tiêu chuẩn chẩn đoán ARDS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;Đủ tiêu chuẩn chẩn đoán ARDS&lt;/td&gt;
&lt;/tr&gt;


&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;br&gt; Xem thêm: &lt;a href=&quot;?id=bantin&amp;amp;idnhom=37&amp;amp;idtin=188&quot; class=&quot;w3-text-blue&quot;&gt;Hội chứng suy hô hấp cấp tính (ARDS)&lt;/a&gt;&lt;/div&gt;

&lt;!--bản tin chi tiết.. --&gt;


&lt;hr&gt;
  &lt;div class=&quot;w3-w8&quot;&gt;&lt;div id=&quot;menu_cap1_1806&quot; class=&quot;w3-margin-top w3-light-grey w3-padding-left w3-w8&quot;&gt;&lt;b class=&quot;w3-text-dark-grey&quot;&gt;MÔ TẢ&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
   &lt;div class=&quot;w3-justify w3-w8&quot;&gt;&lt;/div&gt;
   
&lt;div id=&quot;menu_cap2_3929&quot; class=&quot;w3-margin-top w3-w8&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Cơ sở lý luận&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify w3-w8&quot;&gt;&lt;div&gt;Kể từ Định nghĩa ARDS tại Berlin năm 2012, một số phát triển hỗ trợ nhu cầu sửa đổi Định nghĩa toàn cầu về ARDS:&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Mở rộng rõ ràng việc sử dụng oxy mũi lưu lượng cao (HFNO) để xử trí suy hô hấp cấp tính do giảm oxy máu nghiêm trọng, nhưng những bệnh nhân này thì không đáp ứng Định nghĩa Berlin;&lt;/li&gt;&lt;li&gt;SpO&lt;sub&gt;2&lt;/sub&gt;/FiO&lt;sub&gt;2&lt;/sub&gt; bằng cách đo oxy xung mạch đã được xác nhận là tiêu chí cho ARDS trong các nghiên cứu quan sát và thử nghiệm lâm sàng;&lt;/li&gt;&lt;li&gt;Cần đánh giá lại yêu cầu về độ mờ(thâm nhiễm) hai bên phổi và một bên phổi trên hình ảnh học của ngực và việc sử dụng siêu âm như một phương pháp bổ sung cho hình ảnh học của ngực; và&lt;/li&gt;&lt;li&gt;Định nghĩa Berlin có khả năng áp dụng hạn chế ở nơi có nguồn lực thay đổi vì các phương thức chẩn đoán (chụp X quang ngực, phân tích khí máu động mạch) và điều trị (thở máy áp lực dương - PPV) thường không sẵn có.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;
    	
   
&lt;div id=&quot;menu_cap2_3930&quot; class=&quot;w3-margin-top w3-w8&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Phương pháp giải quyết&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify w3-w8&quot;&gt;Một hội nghị đồng thuận đã được triệu tập bằng cách sử dụng quy trình tuyển chọn theo tầng bao gồm 32 chuyên gia ARDS hồi sức tích cực (các bác sĩ lâm sàng và các nhà thăm dò[investigators]), nhấn mạnh đến nền tảng về lâm sàng, địa lý, chủng tộc, giới tính và dân tộc khác nhau. Hội nghị đồng thuận có 6 cuộc họp ảo (tháng 6 năm 2021 đến tháng 3 năm 2022) và thu thập ý kiến đóng góp từ các thành viên của một số hiệp hội hồi sức tích cực toàn cầu (tháng 6 đến tháng 9 năm 2022).&lt;/div&gt;&lt;div class=&quot;google-auto-placed ap_container&quot; style=&quot;width: 100%; height: auto; clear: both; text-align: center;&quot;&gt;&lt;ins data-ad-format=&quot;auto&quot; class=&quot;adsbygoogle adsbygoogle-noablate&quot; data-ad-client=&quot;ca-pub-1509351565592842&quot; data-adsbygoogle-status=&quot;done&quot; style=&quot;display: block; margin: auto; background-color: transparent; height: 280px;&quot; data-ad-status=&quot;filled&quot;&gt;&lt;div id=&quot;aswift_3_host&quot; style=&quot;border: none; height: 280px; width: 631px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-block; overflow: visible;&quot;&gt;&lt;iframe id=&quot;aswift_3&quot; name=&quot;aswift_3&quot; browsingtopics=&quot;true&quot; style=&quot;left:0;position:absolute;top:0;border:0;width:631px;height:280px;&quot; sandbox=&quot;allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation&quot; width=&quot;631&quot; height=&quot;280&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; allowtransparency=&quot;true&quot; scrolling=&quot;no&quot; allow=&quot;attribution-reporting&quot; src=&quot;https://googleads.g.doubleclick.net/pagead/ads?gdpr=0&amp;amp;client=ca-pub-1509351565592842&amp;amp;output=html&amp;amp;h=280&amp;amp;adk=914233225&amp;amp;adf=864950760&amp;amp;pi=t.aa~a.1899396905~i.30~rp.4&amp;amp;w=631&amp;amp;abgtt=6&amp;amp;fwrn=4&amp;amp;fwrnh=100&amp;amp;lmt=1720079482&amp;amp;num_ads=1&amp;amp;rafmt=1&amp;amp;armr=3&amp;amp;sem=mc&amp;amp;pwprc=6466232498&amp;amp;ad_type=text_image&amp;amp;format=631x280&amp;amp;url=https%3A%2F%2Fhscc.vn%2Ftools.asp%3Fid%3Dbantin%26idnhom%3D6%26idtin%3D1165&amp;amp;fwr=0&amp;amp;pra=3&amp;amp;rh=158&amp;amp;rw=631&amp;amp;rpe=1&amp;amp;resp_fmts=3&amp;amp;wgl=1&amp;amp;fa=27&amp;amp;uach=WyJXaW5kb3dzIiwiMTUuMC4wIiwieDg2IiwiIiwiMTI2LjAuMjU5Mi44MSIsbnVsbCwwLG51bGwsIjY0IixbWyJOb3QvQSlCcmFuZCIsIjguMC4wLjAiXSxbIkNocm9taXVtIiwiMTI2LjAuNjQ3OC4xMjciXSxbIk1pY3Jvc29mdCBFZGdlIiwiMTI2LjAuMjU5Mi44MSJdXSwwXQ..&amp;amp;dt=1720079354333&amp;amp;bpp=4&amp;amp;bdt=3718&amp;amp;idt=4&amp;amp;shv=r20240702&amp;amp;mjsv=m202406270101&amp;amp;ptt=9&amp;amp;saldr=aa&amp;amp;abxe=1&amp;amp;cookie=ID%3D5dd47f1af5bcc156%3AT%3D1697763235%3ART%3D1720079356%3AS%3DALNI_MZfi-txVN9GEDRQnR66u1MkKZ5EPA&amp;amp;gpic=UID%3D00000c6937430acc%3AT%3D1697763235%3ART%3D1701329674%3AS%3DALNI_MYtqHM9Ev-DjuXkewWBLGFfpn10hw&amp;amp;eo_id_str=ID%3Dc795c00d03016366%3AT%3D1711422066%3ART%3D1720079356%3AS%3DAA-Afja8QHbKZ24E7YxJzZOrYJ_4&amp;amp;prev_fmts=0x0%2C1200x280%2C316x250%2C316x250&amp;amp;nras=5&amp;amp;correlator=7781908805552&amp;amp;frm=20&amp;amp;pv=1&amp;amp;ga_vid=1051574822.1720079354&amp;amp;ga_sid=1720079354&amp;amp;ga_hid=1277107714&amp;amp;ga_fc=0&amp;amp;u_tz=420&amp;amp;u_his=2&amp;amp;u_h=768&amp;amp;u_w=1366&amp;amp;u_ah=720&amp;amp;u_aw=1366&amp;amp;u_cd=24&amp;amp;u_sd=1&amp;amp;dmc=8&amp;amp;adx=356&amp;amp;ady=3470&amp;amp;biw=1343&amp;amp;bih=646&amp;amp;scr_x=0&amp;amp;scr_y=900&amp;amp;eid=44759876%2C44759927%2C44759842%2C44795922%2C95331696%2C95331833%2C95334510%2C95334529%2C95334573%2C95334581%2C95334830%2C95337058%2C31084927%2C95335245%2C31078663%2C31078668%2C31078670&amp;amp;oid=2&amp;amp;psts=AOrYGslf82j-d15_dXpLHZ817rtM4muQ63wEkDJMIb0ijxCHAicLITj0VfCIJCalNsFWGnSyUPtJ4l_MEHjay6RPLAGw6uY&amp;amp;pvsid=1174321630321418&amp;amp;tmod=1554614022&amp;amp;wsm=1&amp;amp;uas=0&amp;amp;nvt=1&amp;amp;ref=https%3A%2F%2Fwww.bing.com%2F&amp;amp;fc=1408&amp;amp;brdim=0%2C0%2C0%2C0%2C1366%2C0%2C1366%2C720%2C1358%2C646&amp;amp;vis=1&amp;amp;rsz=%7C%7Cs%7C&amp;amp;abl=NS&amp;amp;fu=128&amp;amp;bc=31&amp;amp;bz=1.01&amp;amp;psd=W251bGwsbnVsbCxudWxsLDNd&amp;amp;nt=1&amp;amp;ifi=4&amp;amp;uci=a!4&amp;amp;btvi=3&amp;amp;fsb=1&amp;amp;dtd=M&quot; data-google-container-id=&quot;a!4&quot; tabindex=&quot;0&quot; title=&quot;Advertisement&quot; aria-label=&quot;Advertisement&quot; data-google-query-id=&quot;CPLi4bXzjIcDFZYsrQYd9I4NGQ&quot; data-load-complete=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/ins&gt;&lt;/div&gt;
    	
   
&lt;div id=&quot;menu_cap2_3931&quot; class=&quot;w3-margin-top w3-w8&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Kết quả&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify w3-w8&quot;&gt;&lt;div&gt;Bốn khuyến nghị chính là&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Bao gồm HFNO với tốc độ dòng tối thiểu ≥ 30 L/phút, hoặc NIV/CPAP với ít nhất 5 cm H&lt;sub&gt;2&lt;/sub&gt;O áp lực cuối kỳ thở ra(PEEP);&lt;/li&gt;&lt;li&gt;Sử dụng PaO&lt;sub&gt;2&lt;/sub&gt;/FiO&lt;sub&gt;2&lt;/sub&gt; ≤ 300 mmHg hoặc SpO&lt;sub&gt;2&lt;/sub&gt;/FiO&lt;sub&gt;2&lt;/sub&gt; ≤ 315mmHg với SpO&lt;sub&gt;2&lt;/sub&gt; ≤ 97% để xác định tình trạng giảm oxy máu;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Giữ lại độ mờ hai bên (phổi) để làm tiêu chí chẩn đoán hình ảnh bằng chụp X quang hoặc chụp cắt lớp vi tính ngực và thêm siêu âm (nếu người thực hiện được đào tạo tốt); và&lt;/li&gt;&lt;li&gt;Đối với các nơi có nguồn lực thay đổi (hạn chế), không yêu cầu PEEP, lưu lượng oxy(HFNO) hoặc các thiết bị hỗ trợ hô hấp cụ thể(NIV/CPAP) để chẩn đoán ARDS.&lt;/li&gt;&lt;/ol&gt;Những khuyến cáo này đã được 100% thành viên hội nghị đồng thuận tán thành.&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;google-auto-placed ap_container&quot; style=&quot;width: 100%; height: auto; clear: both; text-align: center;&quot;&gt;&lt;ins data-ad-format=&quot;auto&quot; class=&quot;adsbygoogle adsbygoogle-noablate&quot; data-ad-client=&quot;ca-pub-1509351565592842&quot; data-adsbygoogle-status=&quot;done&quot; style=&quot;display: block; margin: auto; background-color: transparent; height: 280px;&quot; data-ad-status=&quot;filled&quot;&gt;&lt;div id=&quot;aswift_4_host&quot; style=&quot;border: none; height: 280px; width: 631px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-block; overflow: visible;&quot;&gt;&lt;iframe id=&quot;aswift_4&quot; name=&quot;aswift_4&quot; browsingtopics=&quot;true&quot; style=&quot;left:0;position:absolute;top:0;border:0;width:631px;height:280px;&quot; sandbox=&quot;allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation&quot; width=&quot;631&quot; height=&quot;280&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; allowtransparency=&quot;true&quot; scrolling=&quot;no&quot; allow=&quot;attribution-reporting&quot; src=&quot;https://googleads.g.doubleclick.net/pagead/ads?gdpr=0&amp;amp;client=ca-pub-1509351565592842&amp;amp;output=html&amp;amp;h=280&amp;amp;adk=914233225&amp;amp;adf=2351328766&amp;amp;pi=t.aa~a.1899396905~i.34~rp.4&amp;amp;w=631&amp;amp;abgtt=6&amp;amp;fwrn=4&amp;amp;fwrnh=100&amp;amp;lmt=1720079496&amp;amp;num_ads=1&amp;amp;rafmt=1&amp;amp;armr=3&amp;amp;sem=mc&amp;amp;pwprc=6466232498&amp;amp;ad_type=text_image&amp;amp;format=631x280&amp;amp;url=https%3A%2F%2Fhscc.vn%2Ftools.asp%3Fid%3Dbantin%26idnhom%3D6%26idtin%3D1165&amp;amp;fwr=0&amp;amp;pra=3&amp;amp;rh=158&amp;amp;rw=631&amp;amp;rpe=1&amp;amp;resp_fmts=3&amp;amp;wgl=1&amp;amp;fa=27&amp;amp;uach=WyJXaW5kb3dzIiwiMTUuMC4wIiwieDg2IiwiIiwiMTI2LjAuMjU5Mi44MSIsbnVsbCwwLG51bGwsIjY0IixbWyJOb3QvQSlCcmFuZCIsIjguMC4wLjAiXSxbIkNocm9taXVtIiwiMTI2LjAuNjQ3OC4xMjciXSxbIk1pY3Jvc29mdCBFZGdlIiwiMTI2LjAuMjU5Mi44MSJdXSwwXQ..&amp;amp;dt=1720079354347&amp;amp;bpp=6&amp;amp;bdt=3732&amp;amp;idt=6&amp;amp;shv=r20240702&amp;amp;mjsv=m202406270101&amp;amp;ptt=9&amp;amp;saldr=aa&amp;amp;abxe=1&amp;amp;cookie=ID%3D5dd47f1af5bcc156%3AT%3D1697763235%3ART%3D1720079356%3AS%3DALNI_MZfi-txVN9GEDRQnR66u1MkKZ5EPA&amp;amp;gpic=UID%3D00000c6937430acc%3AT%3D1697763235%3ART%3D1701329674%3AS%3DALNI_MYtqHM9Ev-DjuXkewWBLGFfpn10hw&amp;amp;eo_id_str=ID%3Dc795c00d03016366%3AT%3D1711422066%3ART%3D1720079356%3AS%3DAA-Afja8QHbKZ24E7YxJzZOrYJ_4&amp;amp;prev_fmts=0x0%2C1200x280%2C316x250%2C316x250%2C631x280%2C316x60&amp;amp;nras=7&amp;amp;correlator=7781908805552&amp;amp;frm=20&amp;amp;pv=1&amp;amp;ga_vid=1051574822.1720079354&amp;amp;ga_sid=1720079354&amp;amp;ga_hid=1277107714&amp;amp;ga_fc=0&amp;amp;u_tz=420&amp;amp;u_his=2&amp;amp;u_h=768&amp;amp;u_w=1366&amp;amp;u_ah=720&amp;amp;u_aw=1366&amp;amp;u_cd=24&amp;amp;u_sd=1&amp;amp;dmc=8&amp;amp;adx=356&amp;amp;ady=4132&amp;amp;biw=1343&amp;amp;bih=646&amp;amp;scr_x=0&amp;amp;scr_y=1600&amp;amp;eid=44759876%2C44759927%2C44759842%2C44795922%2C95331696%2C95331833%2C95334510%2C95334529%2C95334573%2C95334581%2C95334830%2C95337058%2C31084927%2C95335245%2C31078663%2C31078668%2C31078670&amp;amp;oid=2&amp;amp;psts=AOrYGslf82j-d15_dXpLHZ817rtM4muQ63wEkDJMIb0ijxCHAicLITj0VfCIJCalNsFWGnSyUPtJ4l_MEHjay6RPLAGw6uY%2CAOrYGskb0W835FfB7seHysUZKg22fMWFuW1P-4vCWU0jRCbzYZ1oFEVnrc46kdwEa53V9F6NZXHNdh25RJ8Hrg&amp;amp;pvsid=1174321630321418&amp;amp;tmod=1554614022&amp;amp;wsm=1&amp;amp;uas=0&amp;amp;nvt=1&amp;amp;ref=https%3A%2F%2Fwww.bing.com%2F&amp;amp;fc=1408&amp;amp;brdim=0%2C0%2C0%2C0%2C1366%2C0%2C1366%2C720%2C1358%2C646&amp;amp;vis=1&amp;amp;rsz=%7C%7Cs%7C&amp;amp;abl=NS&amp;amp;fu=128&amp;amp;bc=31&amp;amp;bz=1.01&amp;amp;psd=W251bGwsbnVsbCxudWxsLDNd&amp;amp;nt=1&amp;amp;ifi=5&amp;amp;uci=a!5&amp;amp;btvi=5&amp;amp;fsb=1&amp;amp;dtd=M&quot; data-google-container-id=&quot;a!5&quot; tabindex=&quot;0&quot; title=&quot;Advertisement&quot; aria-label=&quot;Advertisement&quot; data-google-query-id=&quot;CKa2kbzzjIcDFXQzrQYd5WMBoA&quot; data-load-complete=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/ins&gt;&lt;/div&gt;
    	
   
&lt;div id=&quot;menu_cap2_3932&quot; class=&quot;w3-margin-top w3-w8&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Kết luận&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify w3-w8&quot;&gt;Định nghĩa toàn cầu mới về ARDS này mở rộng dựa trên Định nghĩa ARDS của Berlin(2012).&lt;div&gt;&lt;ul&gt;&lt;li&gt;Bệnh nhân bị bệnh cấp tính đang được điều trị bằng HFNO ≥ 30 L/phút có thể được chẩn đoán mắc ARDS và đại diện cho một loại ARDS không đặt nội khí quản mới.&lt;/li&gt;&lt;li&gt;Đo oxy xung mạch(SpO&lt;sub&gt;2&lt;/sub&gt;) có thể được sử dụng thay thế cho khí máu động mạch(PaO&lt;sub&gt;2&lt;/sub&gt;) để chẩn đoán ARDS.&lt;/li&gt;&lt;li&gt;Độ mờ hai bên (phổi) nên được giữ lại như một tiêu chí bắt buộc và siêu âm là một phương thức hình ảnh học(chẩn đoán hình ảnh) được chấp nhận.&lt;/li&gt;&lt;/ul&gt;Bệnh nhân ở các cơ sở y tế(nơi) có nguồn lực thay đổi(hạn chế) sẽ không còn bị loại trừ khỏi định nghĩa về ARDS và sẽ được đưa vào dịch tễ học, nghiên cứu lâm sàng và các thử nghiệm lâm sàng. Các khuyến nghị xác định các lĩnh vực cho nghiên cứu trong tương lai, bao gồm các đánh giá tiềm năng về tính khả thi, độ tin cậy và giá trị tiên lượng và mối quan hệ của các loại sinh học(biological) của ARDS với Định nghĩa Toàn cầu.&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
    	
 
&lt;/div&gt;
&lt;br /&gt; &lt;br /&gt;

 &lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2024/07/inh-nghia-toan-cau-moi-ve-ards-2023.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-1046639590750561145</guid><pubDate>Mon, 27 Nov 2023 15:32:00 +0000</pubDate><atom:updated>2023-11-27T22:49:45.757+07:00</atom:updated><title></title><description>vvv&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2023/11/document.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-4536834750742304189</guid><pubDate>Fri, 20 Oct 2023 01:03:00 +0000</pubDate><atom:updated>2023-10-20T08:03:00.737+07:00</atom:updated><title>Dinh duong ICU</title><description>&lt;div class=&quot;intro&quot;&gt;
&lt;div class=&quot;w3-w8&quot;&gt;&lt;span class=&quot;w3-padding-left w3-padding-right&quot; id=&quot;gioithieu&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;GIỚI THIỆU&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div class=&quot;w3-justify&quot;&gt;Mục tiêu của cung cấp dinh dưỡng cho bệnh nhân hồi sức:&lt;div&gt;&lt;ol&gt;&lt;li&gt;Cung cấp một lượng calo và protein thích hợp để bù lại các tình trạng mất đang tiếp diễn&lt;/li&gt;&lt;li&gt;Dự phòng hoặc điều chỉnh thiếu hụt các chất dinh dưỡng&lt;/li&gt;&lt;li&gt;Hỗ trợ cho liền sẹo vết thương&lt;/li&gt;&lt;li&gt;Thúc đẩy miễn dịch&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;

Suy dinh dưỡng (SDD) làm tăng
nguy cơ bội nhiễm, kéo dài thời gian thở máy, tăng chi phí điều trị. Vì vậy, cung cấp dinh dưỡng cho người bệnh là thiết yếu, giúp nâng cao thể trạng, tăng cường miễn dịch và hạn chế
biến chứng liên quan suy dinh dưỡng trong bệnh viện.&lt;/div&gt;
&lt;!--bản tin chi tiết..--&gt;


&lt;hr /&gt;
  &lt;div class=&quot;w3-w8&quot;&gt;&lt;div class=&quot;w3-margin-top w3-blue w3-padding-left&quot; id=&quot;menu_cap1_475&quot;&gt;&lt;b class=&quot;w3-text-white&quot;&gt;TỔNG QUAN&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
   &lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
   
&lt;div class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot; id=&quot;menu_cap2_1070&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Một số hướng dẫn&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;Chỉ định nuôi ăn sớm cho bệnh nhân có BMI &amp;lt; 18.5 hoặc bị sụt cân &amp;gt; 10% trong vòng 6 tháng gần đây. Nuôi ăn qua đường ruột sớm (trong vòng 48 giờ) làm tăng khả năng liền sẹo vết thương và giảm tỷ lệ nhiễm khuẩn. Nuôi ăn qua đường ruột được khuyến cáo càng sớm càng tốt.&lt;/li&gt;&lt;/ul&gt;

Xem thêm: &lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=631&quot;&gt;Tính chỉ số BMI&lt;/a&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Lưu ý:&lt;/u&gt;&lt;/b&gt; Bệnh nhân nhịn ăn kéo dài khi bắt đầu cho ăn trở lại có nguy cơ bị hội chứng nuôi ăn lại Refeeding Syndrome (RS) đặc trưng bởi tình trạng dịch chuyển ion vào trong tế bào, nhất là các ion Kali, Magie, Phospho dẫn đến giảm nồng độ các ion này trong huyết thanh.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Hỗ trợ dinh dưỡng cho bệnh nhân dự kiến không thể tự ăn trong 7 - 10 ngày tới.&lt;/li&gt;&lt;li&gt;Dinh dưỡng tĩnh mạch hoàn toàn ở bệnh nhân có bằng chứng suy dinh dưỡng do giảm khẩu phần phần Protein hoặc sau 7 ngày ở bệnh nhân được nuôi dưỡng tốt trước đó.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
    	
   
&lt;div class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot; id=&quot;menu_cap2_1074&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Hướng dẫn tiếp cận&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ol&gt;&lt;li&gt;Bước đầu tiên phải xem xét tình trạng huyết động của bệnh nhân, nếu bệnh nhân trong giai đoạn cấp có rối loạn huyết động yêu cầu sử dụng thuốc vận mạch, việc nuôi dưỡng qua đường tiêu hóa có nguy cơ hoại tử ruột. Nên xem xét cung cấp năng lượng bằng truyền Glucose(stress, tình trạng đáp ứng viêm hệ thống, sử dụng corticoid, vận mạch..làm tăng đề kháng insulin dẫn đến làm tăng đường máu), đồng thời kết hợp kiểm soát đường huyết.&lt;/li&gt;&lt;li&gt;Đánh giá nguy cơ suy dinh dưỡng bằng cách tính BMI và sử dụng các bảng điểm sàng lọc dinh dưỡng NRS, MNS để có kế hoạch dinh dưỡng hỗ trợ. Bệnh nhân suy dinh dưỡng(BMI &amp;lt; 18.5) hoặc có nguy cơ suy dinh dưỡng cao(NRS / MNS ≥ 5 điểm), nếu nuôi dưỡng qua đường tiêu hóa(EN) không đạt mục tiêu trong 3 - 5 ngày thì phải hỗ trợ dinh dưỡng qua đường tĩnh mạch(PN). Ngược lại, bệnh nhân không có suy dinh dưỡng hoặc không có nguy cơ suy dinh dưỡng, khi nuôi dưỡng đường tiêu hóa(EN) không đạt mục tiêu trong 5 - 7 ngày thì phải hỗ trợ dinh dưỡng qua đường tĩnh mạch (PN).&lt;/li&gt;&lt;li&gt;Xác định nhu cầu năng lượng (K cal/kg/ngày) bằng cách sử dụng thiết bị đo năng lượng chuyển hóa gián tiếp (IC), trong trường hợp thiết bị IC không có sẵn hoặc không thể thực hiện được có thể thay thế xác định định nhu cầu năng lượng bằng cách sử dụng công cụ tính Ireton-Jones 1997 hoặc Modified Penn State 2010 (dành riêng cho bệnh nhân thở máy, lớn tuổi, béo phì) hoặc dựa trên chỉ số BMI.&lt;/li&gt;&lt;li&gt;Xác định nhu cầu Protein dựa vào tình trạng bệnh lý và chỉ số BMI. Thường ở hạn mức 1.2 - 2.0 g/kg/ngày (≥ 1.3 g/kg/ngày theo một số khuyến cáo).&lt;/li&gt;&lt;li&gt;Xác định nhu cầu năng lượng ngoài Protein bao gồm Lipid:Glucid được phân chia theo tỷ lệ 30:70 hoặc 40:60 hoặc 50:50, ưu tiên lựa chọn Lipid có tỷ lệ cao hơn ở bệnh nhân suy hô hấp, thở máy. Với hạn mức Lipid từ 0.7 - 1.5 g/kg/ngày và hạn mức Glucid không quá 5mg/kg/phút (7.2g/kg/ngày).&lt;/li&gt;&lt;li&gt;Đánh giá nguy cơ và kế hoạch cung cấp dinh dưỡng để phòng ngừa hội chứng nuôi ăn lại (nếu có nguy cơ).&lt;/li&gt;&lt;li&gt;Xác định đường nuôi dưỡng: miệng &amp;gt;&amp;gt; ống thông mũi dạ dày &amp;gt;&amp;gt; ống thông ruột non &amp;gt;&amp;gt; tĩnh mạch.&lt;/li&gt;&lt;li&gt;Xác định nhu cầu nước từ 20 - 40 ml/kg/ngày (trung bình 35 mL/kg/ngày) tùy tình trạng bệnh lý hoặc theo cân bằng dịch, đặc biệt ở bệnh nhân nặng.&lt;/li&gt;&lt;li&gt;Bổ sung vi chất (vitamin và khoáng chất), nhất là vitamin B1 (200 - 300 mg/ ngày) trong trường hợp nuôi dưỡng bằng Glucid.&lt;/li&gt;&lt;li&gt;Theo dõi và xử trí tình trạng kém dung nạp, biến chứng&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;
    	
   
&lt;div class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot; id=&quot;menu_cap2_1081&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Chế phẩm dinh dưỡng và chuyển đổi đơn vị&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;b&gt;Dinh dưỡng tiêu hóa:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Nguồn thức ăn thông thường (cơm, cháo, súp,..) định chuẩn theo nhu cầu dinh dưỡng theo công thức cho từng đối tượng bệnh nhân bởi dinh dưỡng lâm sàng.&lt;/li&gt;&lt;li&gt;Nguồn dinh dưỡng bổ sung qua đường tiêu hóa (thường là sữa): 1 mL = 1 - 1.5 Kcal).&lt;/li&gt;&lt;li&gt;Trong đó 15 - 20% tổng năng lượng từ đạm, 30 - 40 % tổng năng lượng từ Lipid, 50 - 60% tổng năng lượng từ Glucid. Có thể thay đổi tùy loại sữa và công thức nấu ăn, hướng đến từng nhóm đối tượng bệnh riêng.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Dinh dưỡng tính mạch:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Số gram chất tan = C% x Vml. VD: Glucose 20% 250ml = 20 x 250/ 100 = 50g.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Quy đổi năng lượng: 1g Glucose(đường) = 4 Kcal, 1g Protid(đạm) = 4 Kcal, 1g Lipid(chất béo) = 9 Kcal.&lt;/li&gt;&lt;/ul&gt;Xem thêm:&amp;nbsp;&lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=61&amp;amp;idtin=34&quot;&gt;Các chế phẩm dinh dưỡng chính cho bệnh nhân ICU&lt;/a&gt;&lt;/div&gt;
    	
 &lt;hr /&gt;
  &lt;div class=&quot;w3-w8&quot;&gt;&lt;div class=&quot;w3-margin-top w3-blue w3-padding-left&quot; id=&quot;menu_cap1_476&quot;&gt;&lt;b class=&quot;w3-text-white&quot;&gt;ĐÁNH GIÁ&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
   &lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
   
&lt;div class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot; id=&quot;menu_cap2_1071&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Tình trạng dinh dưỡng&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
    	
   	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_846&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Lâm sàng&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Sức khỏe răng miệng, độ chun da, tình trạng mất khối cơ ở các nhóm cơ (thái dương, Delta, tứ đầu đùi).&lt;br /&gt;
Mức độ suy dinh dưỡng dựa vào BMI (Chỉsố khối cơ thể- Body Mass Index) khi BMI &amp;lt; 18.5 kg/m&lt;sup&gt;2&lt;/sup&gt;

&lt;div class=&quot;w3-w8 w3-responsive&quot;&gt;
&lt;table class=&quot;w3-table w3-striped w3-vienbang&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;th&gt;BMI&lt;/th&gt;
&lt;th&gt;Mức độ suy dinh dưỡng&lt;/th&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;17 - 18.49&lt;/td&gt;
&lt;td&gt;Nhẹ&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;16 - 16.9&lt;/td&gt;
&lt;td&gt;Vừa&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;lt; 16&lt;/td&gt;
&lt;td&gt;Nặng&lt;/td&gt;
&lt;/tr&gt;

&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
Chi tiết tại: &lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=631&quot;&gt;BMI (Chỉsố khối cơ thể- Body Mass Index)&lt;/a&gt;

&lt;div class=&quot;w3-tab&quot;&gt;Bảng SGA (Đánh giá tình trạng dinh dưỡng tổng thể theo chủ quan- Subjective
Global Assessment): Khó áp dụng, độ chính xác kém hơn do phụ thuộc rất nhiều vào tính chủ quan của người đánh giá. Độ chính xác cao hơn khi thực hiện bởi chuyên gia dinh dưỡng.&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_847&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Cận lâm sàng&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;Xét nghiệm máu: Kali, Mg, Phosphat, chức năng gan(GOT, GPT, GGT) - thận (Urê, Creatine), công thức máu, Lipid (Cholesterol, Triglyceride, LDL-C, HDL-C), Protein.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Albumin máu (thấp khi &amp;lt; 3.5 g/dL), Prealbumin (thấp khi &amp;lt; 20 mg/dL) ít đặc hiệu do bị ảnh hưởng bởi nhiều yếu tố, tuy nhiên vẫn có giá trị để xem xét trong trường hợp các yếu tố ảnh hưởng đã được kiểm soát.&lt;/li&gt;&lt;/ul&gt;Ngoài ra còn có thể thực hiện thêm các phương pháp khác (như: đo sức co bóp
bàn tay; xác định khối cơ, mỡ, dịch cơ thể bằng đo trở kháng điện và/hoặc siêu
âm cơ) tùy vào điều kiện của từng đơn vị.&lt;br /&gt;&lt;/div&gt;
	
	
			  
&lt;div class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot; id=&quot;menu_cap2_1072&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Sàng lọc nguy cơ suy dinh dưỡng&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Dùng thang điểm sàng lọc nguy cơ dinh dưỡng NRS (Nutrition Risk
Sreening) và/hoặc thang điểm dinh dưỡng hiệu chỉnh MNS
(Modified Nutric Score )&lt;/div&gt;
    	
   	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_836&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Thang điểm NRS (Nutrition Risk Sreening)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Có nguy cơ Suy dinh dưỡngkhi điểm NRS ≥ 3, nguy cơ suy dinh dưỡng cao khi NRS ≥&amp;nbsp;5&amp;nbsp;và
người bệnh cần có kế hoạch chăm sóc dinh dưỡng.&lt;div&gt;Chi tiết tại:&amp;nbsp;&lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=596&quot;&gt;Thang điểm NRS (Nutrition Risk Sreening)&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_837&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Thang điểm MNS (Modified NUTRIC Score)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Có nguy cơ cao Suy dinh dưỡng khi
điểm MNS ≥5 và người bệnh cần được điều trị dinh dưỡng tích cực (sớm, tích
cực và theo dõi sát)
&lt;br /&gt;
Chi tiết tại: &lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=595&quot;&gt;Modified NUTRIC Score (MNS)&lt;/a&gt;&lt;/div&gt;
	
	
			  
&lt;div class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot; id=&quot;menu_cap2_1073&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Nhu cầu cầu dinh dưỡng&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div class=&quot;w3-tab&quot;&gt;Có thể dùng máy đo chuyển hóa năng lượng gián tiếp IC (Indirect Caloriemetry) để xác định tiêu hao năng lượng lúc nghỉ REE (Resting Energy Expenditure). Trường hợp không
có máy IC, có thể dùng các công thức như: Ireton-Jones hoặc Penn State(rất phức tạp nên khó áp dụng) hoặc đơn giản hơn là dựa vào BMI để xác định nhu cầu
dinh dưỡng. Trong đó cần thu thập các chỉ số về cân nặng như: trọng lượng khô (DW) áp dụng cho bệnh nhân suy gan(cổ chướng), trọng lượng trước đó (thường có) ở bệnh nhân suy dinh dưỡng hoặc trọng lượng cơ thể lý tưởng (IBW) bằng phương pháp Hamwi áp dụng cho bệnh nhân thừa cân/ béo phì và trọng lượng cơ thể thực tế (ABW) cho các trường hợp còn lại.&lt;/div&gt;&lt;div class=&quot;w3-tab&quot;&gt;Theo đồng thuận ACCP/ASPEN/SCCM 2016/ESPEN 2019: nhu cầu năng lượng 25 - 30 Kcal/kg/ngày.&lt;/div&gt;&lt;div class=&quot;w3-tab&quot;&gt;Hội Dinh dưỡng - HSTC CĐ Việt Nam: 20 - 30 K cal/kg/ngày. Đạt đích trong 4 - 7 ngày. Cung cấp năng lượng tăng từ từ trong 3 ngày sau nhập viện, đạt đích 80 - 100% sau 3 ngày, nên bắt đầu dinh dưỡng tĩnh mạch hỗ trợ (SPN) ( khi không đạt đích dù đã tối ưu dinh dưỡng qua đường tiêu hóa (EN).&lt;/div&gt;&lt;/div&gt;
    	
   	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_840&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Phương pháp Hamwi để tính cân nặng lý tưởng (IBW)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Chi tiết tại: &lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=747&quot;&gt;
IBW (Hamwi)
&lt;/a&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_841&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Nhu cầu năng lượng (K cal/ngày) bằng công thức&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;Áp dụng cho mọi bệnh nhân: &lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=748&quot;&gt;Ireton-Jones (1997) dự đoán nhu cầu năng lượng&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Áp dụng cho bệnh nhân thở máy(không rò rỉ khí, thông số cài đặt ổn định), lớn tuổi (≥ 60 tuổi) và béo phì (BMI ≥ 30): &lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=749&quot;&gt;Modified Penn State (2010) dự đoán nhu cầu năng lượng cho bệnh nhân thở máy, lớn tuổi, béo phì&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_848&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Nhu cầu năng lượng dựa vào BMI&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div class=&quot;w3-w8 w3-responsive&quot;&gt;
&lt;table class=&quot;w3-table w3-striped w3-vienbang&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;th&gt;BMI (kg/m&lt;sup&gt;2&lt;/sup&gt;)&lt;/th&gt;
&lt;th&gt;Năng lượng cần (K cal/kg ABW hoặc DW/ngày)&lt;/th&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;&amp;lt; 15&lt;/td&gt;
&lt;td&gt;35-40&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;15-19&lt;/td&gt;
&lt;td&gt;30-35&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;20-24&lt;/td&gt;
&lt;td&gt;25-30&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;25-29&lt;/td&gt;
&lt;td&gt;20-25&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;30-50&lt;/td&gt;
&lt;td&gt;11-14&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;gt; 50&lt;/td&gt;
&lt;td&gt;22-25/kg IBW/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;
ABW&lt;/b&gt;: trọng lượng cơ thể thực tế&lt;/li&gt;&lt;li&gt;&lt;b&gt;DW&lt;/b&gt;: trọng lượng khô(suy gan)&lt;/li&gt;&lt;li&gt;&lt;b&gt;IBW&lt;/b&gt;: trọng lượng cơ thể lý tưởng (tính theo Hamwi)&lt;/li&gt;&lt;/ul&gt;
Xem thêm: &lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=750&quot;&gt;WBEN (Weight-Based Energy Needs) nhu cầu năng lượng dựa trên cân nặng &lt;/a&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_849&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Lượng protein hàng ngày được khuyến cáo&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div class=&quot;w3-w8 w3-responsive&quot;&gt;
&lt;table class=&quot;w3-table w3-striped w3-vienbang&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;th&gt;Tình trạng lâm sàng&lt;/th&gt;
&lt;th&gt;Protein cần&lt;/th&gt;
&lt;th&gt;Đơn vị&lt;/th&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;ICU nội khoa&lt;/td&gt;
&lt;td&gt;1.2-2.0&lt;/td&gt;
&lt;td&gt;g/kg ABW/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ICU Phẫu thuật/ Thần kinh&lt;/td&gt;
&lt;td&gt;1.2-2.0&lt;/td&gt;
&lt;td&gt;g/kg ABW/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;3&quot;&gt;Tổn thương thận cấp (AKI)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Không lọc máu&lt;/td&gt;
&lt;td&gt;1.0-1.5&lt;/td&gt;
&lt;td&gt;g/kg ABW/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HD/SLED&lt;/td&gt;
&lt;td&gt;1.5-2.0&lt;/td&gt;
&lt;td&gt;g/kg ABW/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CRRT&lt;/td&gt;
&lt;td&gt;2.0-2.5&lt;/td&gt;
&lt;td&gt;g/kg ABW/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Suy gan&lt;/td&gt;
&lt;td&gt;1.2-2.0&lt;/td&gt;
&lt;td&gt;g/kg &lt;font color=&quot;#ff3300&quot;&gt;DW&lt;/font&gt;/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;3&quot;&gt;Chấn thương&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Chung&lt;/td&gt;
&lt;td&gt;1.5-2.0&lt;/td&gt;
&lt;td&gt;g/kg ABW/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Chấn thương sọ não&lt;/td&gt;
&lt;td&gt;1.5-2.5&lt;/td&gt;
&lt;td&gt;g/kg ABW/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vết thương thấu bụng&lt;br /&gt;(bụng mở)&lt;/td&gt;
&lt;td&gt;1.5-2.0&lt;br /&gt;(+ 15g/L/ dịch tiết ra)&lt;/td&gt;
&lt;td&gt;g/kg ABW/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bỏng&lt;/td&gt;
&lt;td&gt;1.5-2.0&lt;/td&gt;
&lt;td&gt;g/kg ABW/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Nhiễm trùng huyết&lt;/td&gt;
&lt;td&gt;1.2-2.0&lt;/td&gt;
&lt;td&gt;g/kg ABW/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;BMI 30-40&lt;/td&gt;
&lt;td&gt;2.0-2.5&lt;/td&gt;
&lt;td&gt;g/kg &lt;font color=&quot;#ff3300&quot;&gt;IBW&lt;/font&gt;/ngày&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;BMI &amp;gt; 40&lt;/td&gt;
&lt;td&gt;2.5&lt;/td&gt;
&lt;td&gt;g/kg &lt;font color=&quot;#ff3300&quot;&gt;IBW&lt;/font&gt;/ngày&lt;/td&gt;
&lt;/tr&gt;

&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_850&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Lượng Lipid hàng ngày được khuyến cáo&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Lipid là thành phần không thể thiếu trong nuôi dưỡng qua đường tĩnh mạch (PN) (trừ một số trường hợp đặc biệt: tăng Triglyceride máu, viêm tụy cấp do tăng triglyceride,..).&lt;div&gt;&lt;ul&gt;&lt;li&gt;Lipid 0.7 - 1.5 g/kg/ngày không quá 1.5 g/kg/ngày tùy theo bệnh lý và đáp ứng.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_851&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Lượng Glucid hàng ngày được khuyến cáo&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;Glucose có thể cung cấp qua đường tiêu hóa hoặc tĩnh mạch, nhưng không quá 5mg/kg/phút (7.2g/kg/ngày)&lt;/li&gt;&lt;li&gt;Glucose và Lipid được phân chia theo tỷ lệ béo/đường 30:70 hoặc 40:60 (tùy một số bệnh lý như ARDS cấp)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_852&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Vitamin, vi lượng, nước&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;Bổ sung hàng ngày: kẽm, mg, phospho, selenium, copper, vitamin B1 (200 - 300mg /ngày), C, A, E&lt;/li&gt;&lt;li&gt;Nước: 20 - 40 mL/kg/ngày (trung bình 35 mL/kg/ngày), riêng ở bệnh nhân nặng cần tính theo cân bằng dịch.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
	
	
			&lt;hr /&gt;
  &lt;div class=&quot;w3-w8&quot;&gt;&lt;div class=&quot;w3-margin-top w3-blue w3-padding-left&quot; id=&quot;menu_cap1_477&quot;&gt;&lt;b class=&quot;w3-text-white&quot;&gt;ĐIỀU TRỊ&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
   &lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
   
&lt;div class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot; id=&quot;menu_cap2_1075&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Phác đồ&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
    	
   	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_859&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Tiếp cận ban đầu cung cấp dinh dưỡng theo tình trạng huyết động&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div class=&quot;demo-gallery&quot; data-pswp-uid=&quot;1&quot;&gt;
&lt;a data-author=&quot;hscc.vn&quot; data-med-size=&quot;1936x1936&quot; data-med=&quot;https://cdn.hscc.vn/xxxhinhanh/dinhduong-huyetdong.png&quot; data-size=&quot;1936x1936&quot; href=&quot;https://cdn.hscc.vn/xxxhinhanh/dinhduong-huyetdong.png&quot;&gt;
&lt;img src=&quot;https://cdn.hscc.vn/xxxhinhanh/dinhduong-huyetdong.png&quot; width=&quot;100%&quot; /&gt;
&lt;figure&gt;Tiếp cận ban đầu cung cấp dinh dưỡng theo tình trạng huyết động&lt;/figure&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_860&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Tiếp cận lựa chọn đường nuôi dưỡng dựa vào khả năng dung nạp&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div class=&quot;demo-gallery&quot; data-pswp-uid=&quot;2&quot;&gt;
&lt;a data-author=&quot;hscc.vn&quot; data-med-size=&quot;2112x2134&quot; data-med=&quot;https://cdn.hscc.vn/xxxhinhanh/dinhduong-dungnap.png&quot; data-size=&quot;2112x2134&quot; href=&quot;https://cdn.hscc.vn/xxxhinhanh/dinhduong-dungnap.png&quot;&gt;
&lt;img src=&quot;https://cdn.hscc.vn/xxxhinhanh/dinhduong-dungnap.png&quot; width=&quot;100%&quot; /&gt;
&lt;figure&gt;Tiếp cận lựa chọn đường nuôi dưỡng dựa vào khả năng dung nạp&lt;/figure&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_861&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Chọn đường nuôi dưỡng cho bệnh nhân thở máy&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;div class=&quot;demo-gallery&quot; data-pswp-uid=&quot;3&quot;&gt;
&lt;a data-author=&quot;hscc.vn&quot; data-med-size=&quot;2180x2036&quot; data-med=&quot;https://cdn.hscc.vn/xxxhinhanh/dinhduong-thomay.png&quot; data-size=&quot;2180x2036&quot; href=&quot;https://cdn.hscc.vn/xxxhinhanh/dinhduong-thomay.png&quot;&gt;
&lt;img src=&quot;https://cdn.hscc.vn/xxxhinhanh/dinhduong-thomay.png&quot; width=&quot;100%&quot; /&gt;
&lt;figure&gt;Chọn đường nuôi dưỡng cho bệnh nhân thở máy&lt;/figure&gt;
&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;
	
	
			  
&lt;div class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot; id=&quot;menu_cap2_1076&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Đường nuôi dưỡng&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
    	
   	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_842&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Đường tiêu hóa&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;Ưu tiên cho dinh dưỡng qua tiêu hóa sớm (24-48 tiếng) (miệng, dinh dưỡng
qua ống thông: mũi dạ dày, sau môn vị) sau nhập viện, ngay cả ở bệnh nhân hồi sức tích cực (thởmáy,
suy hô hấp cấp tiến triển, điều trị nằm sấp, ECMO), trừ khi có chống chỉ định
cho dinh dưỡng tiêu hóa&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Ưu tiên cho dinh dưỡng qua đường miệng&lt;/b&gt; bằng chế độ dinh dưỡng phù hợp
bệnh lý nếu người bệnh còn tự ăn uống được.&lt;/li&gt;&lt;li&gt;Tư vấn dinh dưỡng và/ hoặc bổ sung dinh dưỡng qua đường miệng (ONS- Oral
Nutritional Supplements) phù hợp bệnh lý và khả năng dung nạp thức ăn cho
người bệnh có nguy cơ Suy dinh dưỡng, Suy dinh dưỡng lúc nhập viện hoặc
khi người bệnhkhông ăn đủ nhu cầu năng lượng, đạm trong thời gian nằm viện,
đặc biệt người bệnh lớn tuổi có bệnh lý kèm (như suy tim mạn, bệnh phổi tắc
nghẽn mạn tính, bệnh thận mạn, ung thư…) để nâng cao thể trạng, ngăn ngừa
Suy dinh dưỡng trong bệnh viện.&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Dinh dưỡng qua ống thông (DDOT) mũi dạ dày:&lt;/b&gt; Khi dinh dưỡng qua miệng
không thể thực hiện được (như rối loạn tri giác, thởmáy), trừkhi có chống chỉ
định cho dinh dưỡng tiêu hóa hoặc khi không đạt nhu cầu năng lượng, đạm
trong 3 ngày hoặc khi tiên lượng người bệnh chỉ có thể ăn được &amp;lt;50% nhu cầu
NL trong 1 tuần (như viêm phổi nặng, hồi sức)&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Dinh dưỡng ống thông dưới/sau môn vị:&lt;/b&gt; Nên thực hiện khi có kém dung nạp
tiêu hóa trong dinh dưỡng ống thông tại dạ dày(đau, nôn, chướng bụng hoặc thể tích dịch tồn lưu &amp;gt; 500 mL)&amp;nbsp;hoặc ở người bệnh có nguy cơ
hít sặc cao, đặt ống thông nuôi ăn qua ruột non SBFT (Small Bowel Feeding Tube)&lt;/li&gt;&lt;li&gt;Cần thận trọng hoặc trì hoãn bắt đầu dinh dưỡng ống thông trong thời gian
ngắn nếu người bệnh chưa ổn định huyết động hoặc bị sốc nặng với vận mạch
liều cao để ngăn ngừa hoại tử ruột (như ở người bệnh được điều trị ECMO)&lt;/li&gt;&lt;li&gt;&lt;b&gt;Dinh dưỡng tĩnh mạch (PN):&lt;/b&gt; Có 2 loại&amp;nbsp;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Bắt đầu dinh dưỡng tĩnh mạch toàn phần sớm (trong 24-48 tiếng) nếu người
bệnh có chống chỉ định cho dinh dưỡng qua tiêu hóa (EN)&lt;/li&gt;&lt;li&gt;Bắt đầu dinh dưỡng tĩnh mạch bổ sung nếu người bệnh kém dung nạp với dinh
dưỡng tiêu hóa và không đạt nhu cầu dinh dưỡng trong 3-5 ngày ở người bệnh
Suy dinh dưỡng nặng hoặc có nguy cơ cao Suy dinh dưỡng; trong 5-7 ngày ở
người bệnh không Suy dinh dưỡng hoặc nguy cơ thấp Suy dinh dưỡng.&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_843&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Đường tĩnh mạch&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;Ưu điểm: không yêu cầu đường tiêu hóa hoạt động, có thể điều trị dinh dưỡng đầy đủ &amp;lt; 24 giờ.&lt;/li&gt;&lt;li&gt;Nhược điểm: teo ruột, yêu cầu đường truyền tĩnh mạch trung tâm, tăng tần suất biến chứng nhiễm trùng.&lt;/li&gt;&lt;li&gt;Xem xét truyền Glucose để cung cấp năng lượng cho bệnh nhân ở giai đoạn cấp với tình trạng huyết động không ổn định và phải yêu cầu vận mạch. Kiểm soát đường huyết bằng insulin (xem thêm: &lt;a class=&quot;w3-text-blue&quot; href=&quot;ult.asp?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=467&quot;&gt;Glucose Control: Kiểm soát đường máu (trong ICU)&lt;/a&gt;)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
	
	
			  
&lt;div class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot; id=&quot;menu_cap2_1077&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Thuốc tăng nhu động ruột&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Metoclopramide và Erythromycine sử dụng trong thời gian ngắn 24 - 72 giờ giúp cải thiện khả năng làm rỗng dạ dày và dung nạp với nuôi ăn bằng ống thông. Tuy nhiên, sử dụng kéo dài có thể dẫn tới biến chứng liên quan đến thuốc.&lt;/div&gt;
    	
 &lt;hr /&gt;
  &lt;div class=&quot;w3-w8&quot;&gt;&lt;div class=&quot;w3-margin-top w3-blue w3-padding-left&quot; id=&quot;menu_cap1_478&quot;&gt;&lt;b class=&quot;w3-text-white&quot;&gt;THEO DÕI VÀ XỬ TRÍ BIẾN CHỨNG&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
   &lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
   
&lt;div class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot; id=&quot;menu_cap2_1079&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Xử trí biến chứng liên quan đến nuôi ăn qua ống thông&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
    	
   	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_853&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Tồn dư&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Đo lượng tồn dư: Không nên sử dụng thường quy. Nếu được sử dụng, thể tích 500 mL phải tương quan với các dấu hiệu lâm sàng của không dung nạp: chướng bụng, đầy, khó chịu hoặc hiện diện của nôn. Nếu có, hãy xem xét:&amp;nbsp;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Lặp lại chụp X quang để xác nhận vị trí của ống thông hoặc kiểm tra độ pH của chất bên trong.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Bắt đầu dùng thuốc tăng động: Metoclopramide IV 10 mg mỗi 6 giờ (nếu không có suy thận), không quá 72 giờ.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Đổi sang sản phẩm đậm đặc hơn về năng lượng để giảm tổng thể tích truyền vào.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Đặt một ống thông nuôi dưỡng ruột non.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_854&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Tiêu chảy&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Định lượng lượng phân. Có thể đi ngoài 4-5 lần phân lỏng mỗi ngày với nuôi ăn qua đường tiêu hóa. Nếu có, hãy xem xét:&amp;nbsp;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Xem xét lại các loại thuốc. Tiêu chảy có thể là thứ phát do dùng thuốc đường ruột. Thử thay đổi đường dùng thuốc sang IV.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Loại trừ sự hiện diện của Clostridium difficile.&lt;/li&gt;&lt;li&gt;Thử thêm chất xơ hòa tan vào thức ăn (10–20 g chia làm nhiều lần trong 24 giờ) nếu bệnh nhân được hồi sức đầy đủ và không có nguy cơ thiếu máu cục bộ ruột. (không dùng chất chất xơ trên bệnh nhân phẫu thuật tiêu hóa trong 1 tuần).&amp;nbsp;&lt;/li&gt;&lt;li&gt;Sau khi loại trừ nguyên nhân lây nhiễm, hãy sử dụng thuốc chống tiêu chảy (loperamide 2-4 mg mỗi 6 giờ).&amp;nbsp;&lt;/li&gt;&lt;li&gt;Giữ lại việc nuôi ăn.
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_855&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Táo bón&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Khó đi tiêu hoặc không đi tiêu &amp;gt; 3 ngày sau khi cho ăn đạt mục tiêu.&lt;div&gt;&lt;ul&gt;&lt;li&gt;Bắt đầu phác đồ ruột theo phác đồ của bệnh viện.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Kiểm tra các dấu hiệu mất nước, chẳng hạn như: tăng natri máu, tăng ure huyết trước thận, thiểu niệu, da kém sắc, hạ huyết áp tư thế đứng.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Ra y lệnh cho chụp x quang hệ niệu không chuẩn bị (KUB) để loại trừ tắc nghẽn&amp;nbsp;&lt;/li&gt;&lt;li&gt;Tăng lượng nước tự do.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Khám trực tràng khi có phản ứng.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Một khi tắc nghẽn được loại trừ; coi thuốc đạn (nhét hậu môn) và / hoặc thuốc xổ cho khi cần&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  
&lt;div class=&quot;w3-margin-top w3-w8 w3-light-grey w3-padding-left&quot; id=&quot;menu_cap2_1080&quot;&gt;&lt;b class=&quot;w3-text-blue&quot;&gt;Phòng ngừa hội chứng nuôi ăn lại&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;/div&gt;
    	
   	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_856&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Hội chứng nuôi ăn lại (Refeeding Suyndrome - RF)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;Xảy ra khi bắt đầu nuôi dưỡng lại (như dinh dưỡng ống thông, dinh dưỡng tĩnh
mạch).&amp;nbsp;&lt;/li&gt;&lt;li&gt;Là biến chứng nguy hiểm do rối loạn nước điện giải nặng, rối loạn chức năng
tim mạch, thần kinh cơ, tăng đường huyết… thậm chí gây tử vong.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Xác định đối tượng có nguy cơ cao với hội chứng nuôi ăn lại (như BMI&amp;lt;16;
sụt cân &amp;gt;15% CN/ 6 tháng; ăn rất ít hoặc gần như không ăn gì trên 10 ngày; nồng
độ kali, magne và/hoặc phosphate/máu thấp trước khi bắt đầu nuôi dưỡng lại).&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_857&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Xử trí&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;Bệnh nhân có nguy cơ hội chứng nuôi ăn lại, xét nghiệm nếu Kali, Mg, Phosphate máu thấp, trước khi bắt đầu can thiệp dinh dưỡng 30 phút, cần cung cấp:&lt;div&gt;&lt;ul&gt;&lt;li&gt;Vitamin B1 200 - 300 mg / ngày&lt;/li&gt;&lt;li&gt;Phức hợp vitamin B 2-3 viên/ngày&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Trong 7 ngày đầu can thiệp dinh dưỡng:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Bồi hoàn, cân bằng nước và điện giải: Kali 1 - 3 mmol/kg/ngày, Mg 0.3 - 0.4 mmol/kg/ngày, PO4: 0.5 - 0.8 mmol/kg/ngày.&lt;/li&gt;&lt;li&gt;Cung cấp 5 - 10 K cal/kg/ngày, tốc độ chậm, tăng chậm dần (thêm 10 K cal/kg/ngày) trong các ngày để đạt đủ nhu cầu dinh dưỡng.&lt;/li&gt;&lt;li&gt;Bổ sung đa vitamin và khoáng chất liều cơ bản mỗi ngày 1 lần&lt;/li&gt;&lt;li&gt;Theo dõi hàng ngày: điện giải đồ máu (gồm cả Mg, PO4) 1 - 3 lần/ngày, cân bằng dịch, đường huyết, chức năng tim (ECG nếu cần), chứng năng gan thận (nếu cần).&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
	
	
			  	
&lt;div class=&quot;w3-margin-top&quot; id=&quot;menu_cap3_858&quot;&gt;&lt;i class=&quot;fas fa-check-circle w3-medium w3-text-blue&quot;&gt;&lt;/i&gt; &lt;b class=&quot;w3-text-pink&quot;&gt;Phòng ngừa&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;w3-justify&quot;&gt;&lt;ul&gt;&lt;li&gt;Đánh giá lại tình trạng dinh dưỡng như cân nặng (sau mỗi 3-7 ngày); khối cơ, mỡ
(bằng trở kháng điện hoặc siêu âm cơ) (sau mỗi 7 ngày), albumin/ máu (sau
mỗi 7 ngày), prealbumin/máu (sau mỗi 3 ngày)&lt;/li&gt;&lt;li&gt;Các chỉ số sinh hóa như đường huyết, điện giải, lipid máu, chức năng thận,
gan… tùy tình trạng và diễn tiến bệnh lý&lt;/li&gt;&lt;li&gt;Theo dõi hàng ngày khả năng dung nạp thức ăn qua dinh dưỡng tiêu hóa và
phòng ngừa biến chứng liên quan dinh dưỡng ống thông (cơ học, chuyển hóa,
nhiễm khuẩn, khác). Xử trí biến chứng, nếu có.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Theo dõi và phòng ngừa biến chứng dinh dưỡng tĩnh mạch (cơ học, chuyển
hóa, nhiễm khuẩn, khác).Xử trí biến chứng, nếu có.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
	
	
			
&lt;div class=&quot;w3-margin-top w3-hide-large&quot;&gt;
&lt;b class=&quot;w3-text-black&quot; id=&quot;chudelienquan&quot;&gt;CHỦ ĐỀ LIÊN QUAN&lt;/b&gt;
&lt;div class=&quot;w3-leftbar w3-border-blue w3-pale-blue w3-padding w3-round&quot;&gt;

&lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=61&amp;amp;idtin=34&quot;&gt;Các chế phẩm dinh dưỡng chính cho bệnh nhân ICU&lt;/a&gt;&lt;br /&gt;

&lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=6&amp;amp;idtin=513&quot;&gt;Nguy cơ suy dinh dưỡng&lt;/a&gt;&lt;br /&gt;

&lt;a class=&quot;w3-text-blue&quot; href=&quot;?id=bantin&amp;amp;idnhom=66&amp;amp;idtin=638&quot;&gt;COVID-19: Dinh dưỡng&lt;/a&gt;&lt;br /&gt;

&lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2023/10/dinh-duong-icu.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-634783434674057280</guid><pubDate>Fri, 20 Dec 2019 21:39:00 +0000</pubDate><atom:updated>2019-12-21T04:49:07.010+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">forex</category><title>Tìm Hiểu Về Giao Dịch Dầu Với Exness</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Đăng ký tại: 
&lt;a href=&quot;https://www.exness.com/&quot; onclick=&quot;this.href=&#39;https://www.exness.com/a/u15id3a4&#39; &quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://www.exness.com/&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;figure class=&quot;post-thumbnail&quot; style=&quot;box-sizing: inherit; margin: 23px 0px 26px; padding: 0px;&quot;&gt;&lt;img alt=&quot;Tìm Hiểu Về Giao Dịch Dầu Với Exness&quot; class=&quot;post-thumbnail__img wp-post-image&quot; src=&quot;https://m3v5u3n1slsrrxyu4fcnix31-wpengine.netdna-ssl.com/wp-content/uploads/2019/03/Ti%CC%80m-Hie%CC%82%CC%89u-Ve%CC%82%CC%80-Giao-Di%CC%A3ch-Da%CC%82%CC%80u-Vo%CC%9B%CC%81i-Exness-705x370.jpg&quot; style=&quot;border: 0px; box-sizing: inherit; display: inline-block; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: top; width: 701px;&quot; /&gt;&lt;/figure&gt;&lt;br /&gt;
&lt;div class=&quot;entry-content&quot; style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Đối với các nhà giao dịch tham gia thị trường hàng hóa, dầu không phải là một thứ tài sản xa lạ. Với thanh khoản cao và độ biến động lớn, dầu luôn có một thứ hạng tốt trong danh sách những mặt hàng đáng giao dịch nhất, bên cạnh vàng và bạc.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Nếu bạn chưa biết hoặc chưa từng thử giao dịch dầu, đừng bỏ lỡ bài viết này. Hãy cùng Exness tìm hiểu thêm về món hàng được ưa chuộng này nhé!&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 24px; font-weight: 500; line-height: 1.2; margin: 46px 0px 21px; padding: 0px;&quot;&gt;
Làm thế nào để giao dịch dầu?&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Cách thủ công nhất để giao dịch dầu đó là chạy ra ngoài và mua một thùng dầu! Tuy nhiên, việc này không chỉ tốn công sức mà còn đem lại khoản lợi nhuận không đáng kể.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Ngày nay, với sự phát triển của công nghệ, bạn hoàn toàn có thể ngồi trước màn hình máy tính và kiếm lợi nhuận từ việc giao dịch dầu bằng cách sử dụng các Hợp đồng chênh lệch (Contract For Difference, hay còn được gọi tắt là CFD). Đây là một loại hợp đồng cho phép bạn hưởng lợi từ các biến động của giá dầu mà không cần phải sở hữu dầu. Bên cạnh đó, giao dịch với các hợp đồng chênh lệch còn đem lại rất nhiều lợi thế như:&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; list-style: none; margin: 0px; padding: 0px 0px 0px 27px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 0px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Chi phí thấp&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 4px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Có thể giao dịch với khối lượng lớn&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 4px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Được phép sử dụng đòn bẩy&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Giả sử giá dầu đang ở mức 50 USD một thùng. Nếu bạn mua 10 thùng dầu bên ngoài, bạn sẽ phải trả 500 USD, chưa kể chi phí vận chuyển những thùng dầu đó về nơi cất giữ. Tuy nhiên, nếu bạn sử dụng các hợp đồng chênh lệch với mức đòn bẩy 1:50, bạn sẽ chỉ phải trả 10 USD cho cả 10 thùng! Rất tuyệt vời phải không nào? Và chỉ với một cú nhấp chuột, bạn đã có thể mang cả 10 thùng dầu đó về nhà.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Nếu giá dầu tăng lên mức 55 USD một thùng, lợi nhuận của bạn với 10 thùng dầu sẽ là: (55-50) x 10 = 50 USD.&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 24px; font-weight: 500; line-height: 1.2; margin: 46px 0px 21px; padding: 0px;&quot;&gt;
Giao dịch dầu với Exness&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Tại Exness, bạn có thể bắt đầu giao dịch dầu chỉ với 3 bước đơn giản:&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; list-style: none; margin: 0px; padding: 0px 0px 0px 27px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 0px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Mở tài khoản giao dịch&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 4px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Xác nhận thông tin cá nhân&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 4px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Nạp tiền và bắt đầu giao dịch&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Tất cả những bước trên có thể được thực hiện chỉ trong chưa đầy 5 phút!&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 24px; font-weight: 500; line-height: 1.2; margin: 46px 0px 21px; padding: 0px;&quot;&gt;
Vì sao bạn nên giao dịch/đầu tư dầu?&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Không phải tự nhiên mà giao dịch hay đầu tư dầu lại trở nên phổ biến và được ưa chuộng. Dưới đây là 3 lý do khiến nhiều người tham gia thị trường dầu:&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; list-style: none; margin: 0px; padding: 0px 0px 0px 27px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 0px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Dầu có thể giúp đa dạng hóa danh mục đầu tư&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 4px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Dầu có thể là tài sản trú ẩn trong giai đoạn thị trường bất ổn&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 4px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Dầu cũng có thể được sử dụng cho việc đầu cơ&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://www.exness.com/&quot; onclick=&quot;this.href=&#39;https://www.exness.com/a/u15id3a4&#39; &quot; rel=&quot;nofollow&quot; style=&quot;background-color: #ffcf01; border-bottom: none !important; border-left-color: rgb(255, 207, 1); border-radius: 3px; border-right-color: rgb(255, 207, 1); border-top-color: rgb(255, 207, 1); box-sizing: inherit; color: black; display: block; font-size: 16px; font-weight: bold; line-height: 20px; margin: 0px; padding: 8px 5px; text-decoration-line: none; transition: all 0.3s ease 0s; width: 701px;&quot; target=&quot;_blank&quot;&gt;Giao dịch forex với Exness&lt;/a&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 24px; font-weight: 500; line-height: 1.2; margin: 46px 0px 21px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 15px;&quot;&gt;Dưới đây là một số thông tin về giao dịch dầu tại Exness:&lt;/span&gt;&lt;/h2&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; list-style: none; margin: 0px; padding: 0px 0px 0px 27px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 0px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Khối lượng giao dịch tối thiểu: 10 thùng (0.01 lot)&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 4px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Đòn bẩy tối đa: 1:50&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 4px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Mức chênh lệch: chỉ từ 5.1 pip&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 4px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Phí qua đêm:&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 4px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Đối với lệnh mua: -11.5 USD&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; letter-spacing: 0.024em; margin: 4px 0px 20px; padding: 0px; position: relative;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Đối với lệnh bán: +1.2 USD&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px; text-align: center;&quot;&gt;
&lt;strong style=&quot;box-sizing: inherit; margin: 0px; padding: 0px;&quot;&gt;Vậy còn chần chừ gì nữa? Hãy mở tài khoản và bắt đầu giao dịch dầu với Exness ngay thôi!&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://www.exness.com/&quot; onclick=&quot;this.href=&#39;https://www.exness.com/a/u15id3a4&#39; &quot; rel=&quot;nofollow&quot; style=&quot;background-color: #ffcf01; border-bottom: none !important; border-left-color: rgb(255, 207, 1); border-radius: 3px; border-right-color: rgb(255, 207, 1); border-top-color: rgb(255, 207, 1); box-sizing: inherit; color: black; display: block; font-size: 16px; font-weight: bold; line-height: 20px; margin: 0px; padding: 8px 5px; text-decoration-line: none; transition: all 0.3s ease 0s; width: 701px;&quot; target=&quot;_blank&quot;&gt;Mở tài khoản Exness&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4&gt;
Xem thêm:&lt;/h4&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, San-Serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h3 style=&quot;-webkit-text-stroke-width: 0px; background-color: white; border-bottom: 2px solid rgb(238, 238, 238); box-sizing: border-box; color: #2c3749; font-family: Arial, San-Serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 31px; margin: 20px 0px 10px; orphans: 2; padding: 0px 0px 5px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: capitalize; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span id=&quot;Tong_quan_ve_san_giao_dich_forex_Exness&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;https://khoinghiepinternet.blogspot.com/2019/12/san-giao-dich-forex-exness-tong-quan.html&quot;&gt;Tổng Quan Về Sàn Giao Dịch Forex Exness&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2019/12/tim-hieu-ve-giao-dich-dau-voi-exness.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-30761874219195529</guid><pubDate>Fri, 20 Dec 2019 21:33:00 +0000</pubDate><atom:updated>2019-12-21T04:48:56.436+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">forex</category><title>Sàn giao dịch forex Exness - Tổng quan</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #2c3749; font-size: 30px; font-weight: 400; line-height: 31px; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
&lt;span id=&quot;Tong_quan_ve_san_giao_dich_forex_Exness&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Tổng quan về sàn giao dịch forex Exness&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
Được bảo chứng bởi các cơ quan quản lý tài chính lớn cũng như có sự kiểm toán từ bên thứ 3 nên mọi thứ ở sàn &lt;b&gt;Exness &lt;/b&gt;đều khá minh bạch, có thể xem là 1 trong những sàn đáng tin cậy để bạn giao dịch. Exness&amp;nbsp;được thành lập từ năm 2008 ở Vincent ngoài CySEC, còn chịu sự quản lý bởi FCA của Anh là 1 trong những cơ quan quản lý tài chính uy tín nhất hiện nay. Sau hơn 10 năm tồn tại trong thị trường tài chính Exness hiện tại là&amp;nbsp;sàn forex&amp;nbsp;lẻ lớn nhất thế giới với tổng khối lượng giao dịch lên tới 588 tỷ USD.&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;a href=&quot;https://www.exness.com/a/tg8aqg8a&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #2200cc; outline: 0px; text-decoration: unset;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #2c3749; font-size: 30px; font-weight: 400; line-height: 31px; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
&lt;span id=&quot;Nen_tang_giao_dich_san_Exness&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Nền tảng giao dịch sàn Exness&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Hiện tại Exness cung cấp đầy của các công cụ giao dịch cho trader bao gồm&amp;nbsp;phần mềm MT4, MT5 cũng các ứng dụng dành riêng cho điện thoại để bạn tiện giao dịch ở bất cứ khi nào bạn muốn.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://www.exness.com/&quot; onclick=&quot;this.href=&#39;https://www.exness.com/a/u15id3a4&#39; &quot; rel=&quot;nofollow&quot;  style=&quot;background-color: #ffcf01; border-bottom: none !important; border-left-color: rgb(255, 207, 1); border-radius: 3px; border-right-color: rgb(255, 207, 1); border-top-color: rgb(255, 207, 1); box-sizing: inherit; color: black; display: block; font-size: 16px; font-weight: bold; line-height: 20px; margin: 0px; padding: 8px 5px; text-decoration-line: none; transition: all 0.3s ease 0s; width: 701px;&quot; target=&quot;_blank&quot;&gt;Đăng ký ngay Exness&lt;/a&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 24px; font-weight: 500; line-height: 1.2; margin: 46px 0px 21px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif; font-size: 19px;&quot;&gt;Đặc biệt, sàn có chế độ bảo mật rất tốt, nếu tài khoản của bạn có những hoạt động bất thường sàn sẽ tạm thời khóa tài khoản của bạn lại để xác minh nguồn tiền, điều này nhiều khi sẽ khiến khách hàng cảm thấy khó chịu nhưng là 1 trong những cách tốt để đảm bảo an ninh cho tài khoản của bạn, nhất là trong thời điểm giao dịch internet đang phát triển chóng mặt nguy cơ bị hack tài khoản rất dễ xảy ra.&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://kienthucforex.com/wp-content/uploads/2019/03/danh-gia-san-giao-dich-exness.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;478&quot; data-original-width=&quot;800&quot; height=&quot;191&quot; src=&quot;https://kienthucforex.com/wp-content/uploads/2019/03/danh-gia-san-giao-dich-exness.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #2c3749; font-size: 30px; font-weight: 400; line-height: 31px; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
&lt;span id=&quot;Tai_khoan_giao_dich_tai_san_Exness&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Tài khoản giao dịch tại sàn Exness&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Hiện tại Exness cung cấp 4 loại tài khoản chính bao gồm: tài khoản Cent, tài khoản Mini, tài khoản Classic và tài khoản ECN.&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; box-sizing: border-box; color: #2c3749; font-size: 30px; font-weight: 400; line-height: 31px; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
&lt;span id=&quot;Tai_khoan_Cent_cho_phep_nap_tien_toi_thieu_chi_1_USD&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Tài khoản Cent cho phép nạp tiền tối thiểu chỉ 1 USD&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Đúng như tên gọi khi bạn nạp tiền vào số tiền tài khoản sẽ được tình theo Cent chứ không tính theo USD ví dụ bạn nạp 10 USD tài khoản của bạn sẽ có 1000 Cent. Không những vậy phí đòn bẩy của tài khoản Cent rất cao lên tới 1:2000 tuy nhiên giá spread của tài khoản này bao giờ cũng cao hơn so với các loại tài khoản khác, và thỉnh thoảng lệnh vẫn bị requote khi thị trường biến động mạnh. Tuy nhiên, đây vẫn là lựa chọn tuyệt vời để bạn tập trade nếu là người mới bước vào nghề, hoặc thử nghiệm các chương trình EA các system bạn mới tạo ra.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Trong các loại tài khoản còn lại như Mini, classic và ECN mỗi loại đều có ưu thế riêng biệt phù hợp với các trader khác nhau. Nếu bạn là nhà đầu tư có kinh nghiệm và muốn giao dịch thằng vào thị trường liên ngân hàng bạn có thể cân nhắc mở tài khoản ECN với số vốn tối thiểu chỉ khoảng 300 USD rất dễ chịu so với các sàn khác thường phải từ 500 USD trở lên. Tuy nhiên, mức đòn bẩy của tài khoản ECN thuộc sàn Exness lại chỉ vào mức trung bình là 1:200 trong khi nhiều sàn như Icmarkets mức đòn bẩy sẽ là 1:500.&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #2c3749; font-size: 30px; font-weight: 400; line-height: 31px; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
&lt;span id=&quot;Don_bay_phi_hoa_hong_va_spread_tai_san_Exness&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Đòn bẩy, phí hoa hồng và spread tại sàn Exness&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;Exness &lt;/b&gt;cũng là 1 trong những&amp;nbsp;sàn giao dịch forex uy tín&amp;nbsp;có mức đòn bẩy cao nhất hiện nay. Ngoài mức đòn bẩy trung bình 1:2000 cho các loại tài khoản (riêng ECN sẽ thấp hơn chỉ là 1:200) thì Exness còn có&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;mức đòn bẩy vô cực&lt;/span&gt;&amp;nbsp;hay&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;đòn bẩy không giới hạn&lt;/span&gt;. Tuy nhiên, dạng đòn bẩy này chỉ được trade ở các tài khoản nhỏ dưới 1000 USD theo quy định của Exness. Nếu bạn muốn thử cảm giác 50 USD đánh 1 lot là như thế nào thì có thể mở tài khoản với mức đòn bẩy vô cực của Exness để trải nghiệm nhé!&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-758&quot; sizes=&quot;(max-width: 960px) 100vw, 960px&quot; src=&quot;https://kienthucforex.com/wp-content/uploads/2019/03/san-forex-uy-tin-nhat-2019-exness.jpg&quot; srcset=&quot;https://kienthucforex.com/wp-content/uploads/2019/03/san-forex-uy-tin-nhat-2019-exness.jpg 960w, https://kienthucforex.com/wp-content/uploads/2019/03/san-forex-uy-tin-nhat-2019-exness-768x432.jpg 768w&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none !important; box-sizing: border-box; display: block; height: auto !important; margin: 0px auto 15px; max-width: 100%; padding: 6px; vertical-align: middle;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Spread tại sàn Exness nhìn chung là khá thấp đặc biệt là ở các cặp tiền hay được trader giao dịch nhiều nhất như EUR/USD, GBP/USD spread trung bình là 1 pip, đôi lúc chỉ còn 0.5pip. Với tài khoản ECN, Exness sẽ chỉ thu phí hoa hồng với múc cố định là 2.5$ cho 1 &amp;nbsp;lot, nếu so với ICMarket là 7$/lot thì mức phí hoa hồng này quả thực quá dễ chịu. Các bạn có thể tham khảo thêm thông tin về spread của sàn Exness&amp;nbsp;&lt;a href=&quot;https://www.exness.com/intl/vi/forex/specifications/#cent-market&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #2200cc; outline: 0px; text-decoration: unset;&quot;&gt;tại đây&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #2c3749; font-size: 30px; font-weight: 400; line-height: 31px; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
&lt;span id=&quot;San_Exness_nap_va_rut_tien_247_sieu_nhanh_chi_3-5_phut&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Sàn Exness nạp và rút tiền 24/7, siêu nhanh chỉ 3-5 phút&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Đây có thể nói là ưu điểm lớn nhất của sàn giao dịch Exness mà tính đến thời điểm hiện tại chưa 1 sàn forex nào theo kịp. Sở dĩ được như vậy vì Exness thực hiện chế độ rút tiền tự động để xét duyệt chứ không duyệt tay như nhiều sàn khác nên tốc độ không chỉ rút nhanh mà bạn có thể rút bất cứ khi nào bạn muốn kể cả vào 2 ngày cuối tuần.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Ngoài ra, Exness còn hỗ trợ rất nhiều kênh nạp rút khác nhau cho bạn chọn lựa như Neteller, Skrill, Visa, Ngân Lượng và Internet Banking. Như có nói nhờ &amp;nbsp;xây dựng hệ thống nạp rút tức thời nên ngay cả khi bạn nạp và rút qua cổng Internet banking đều được thực hiện gần như ngay lập tức cả 2 chiều và hoàn toàn không mất phí.&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #2c3749; font-size: 30px; font-weight: 400; line-height: 31px; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
&lt;span id=&quot;Dich_vu_cham_soc_khach_hang_tai_san_Exness&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Dịch vụ chăm sóc khách hàng tại sàn Exness&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Ngoài xây dựng đội ngũ Marketing, xây dựng fanpage dành riêng cho thị trường Việt Nam, Exness còn có 1 đội ngũ hỗ trợ cực kỳ tốt, hỗ trợ 24/5 ngoại trừ thứ Bảy và chủ Nhật. Bạn có thể live chat bằng cách nhấn vào nút chat nằm bên phải màn hình hoặc gọi điện tới tổng đài của Exness: 18004974 để được hỗ trợ và tư vấn.&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #2c3749; font-size: 30px; font-weight: 400; line-height: 31px; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
&lt;span id=&quot;Tong_ket_uu_nhuoc_diem_san_giao_dich_forex_Exness&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Tổng kết ưu nhược điểm sàn giao dịch forex Exness&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Ưu điểm:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Sản phẩm giao dịch cực phong phú hơn 134 cặp ngoại tệ, chứng khoán, CFD. Đặc biệt Exness còn cho phép giao dịch dầu 1 loại hàng hóa mà nhiều sàn không có.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Thủ tục đăng ký xét duyệt nhanh và đơn giản. Kế từ lúc đăng ký cho tới khi xét duyệt xác minh danh tính và xác minh địa chỉ cũng chỉ vài giờ đồng hồ.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Rút tiền siêu nhanh chỉ 3-5 phút đặc biệt cho rút cả thứ 7 và chủ nhật một điều mà không phải sàn giao dịch forex uy tín nào cũng làm được như hiện nay.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Nhược điểm:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Khi tin ra spread vẫn bị giãn.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-size: 19px; line-height: 29px; margin-bottom: 25px; margin-top: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;Lệnh đôi khi vẫn bị requote đặc biệt là ở tài khoản cent.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15px; margin-bottom: 22px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://www.exness.com/&quot; onclick=&quot;this.href=&#39;https://www.exness.com/a/u15id3a4&#39; &quot; rel=&quot;nofollow&quot; style=&quot;background-color: #ffcf01; border-bottom: none !important; border-left-color: rgb(255, 207, 1); border-radius: 3px; border-right-color: rgb(255, 207, 1); border-top-color: rgb(255, 207, 1); box-sizing: inherit; color: black; display: block; font-size: 16px; font-weight: bold; line-height: 20px; margin: 0px; padding: 8px 5px; text-decoration-line: none; transition: all 0.3s ease 0s; width: 701px;&quot; target=&quot;_blank&quot;&gt;Giao dịch forex với Exness&lt;/a&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; color: #2c3033; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 24px; font-weight: 500; line-height: 1.2; margin: 46px 0px 21px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2019/12/san-giao-dich-forex-exness-tong-quan.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-1511603738131167402</guid><pubDate>Mon, 23 Sep 2019 15:14:00 +0000</pubDate><atom:updated>2019-09-23T22:12:58.608+07:00</atom:updated><title>HIỆU ỨNG RẮN HỔ MANG (COBRA EFFECT)</title><description>&lt;div dir=&quot;auto&quot;&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;div dir=&quot;auto&quot;&gt;HIỆU ỨNG RẮN HỔ MANG (COBRA EFFECT)&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br style=&quot;font-family:sans-serif&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Chúng ta cùng tìm hiểu thuật ngữ &quot;Hiệu ứng Rắn Hổ Mang&quot; do nhà kinh tế học Horst Siebert đặt ra dựa trên sự kiện có thật sau:&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;1. Khi những người Anh cai trị Ấn Độ, những viên chức ở Delhi quan ngại về sự sinh trưởng mạnh mẽ của rắn hổ mang trong thành phố. Để kiểm soát vấn đề, chính quyền đã đề nghị treo thưởng cho mỗi bộ da rắn. Chương trình này đã tỏ ra hoạt động rất hiệu quả.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Trong một thời gian ngắn sau đó, rắn hổ mang dù muốn hay không bị giết rất nhiều và chính phủ hoàn toàn hài lòng về chương trình treo thưởng của mình. Tuy nhiên, một số tay buôn Ấn Độ nghe thấy cơ hội kiếm tiền từ chương trình và bắt đầu quay sang chủ động nuôi rắn hổ mang rồi giết để lấy da.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Khi chính phủ thu được quá nhiều bộ da rắn và họ phát hiện ra trò lừa đảo thì chương trình treo thưởng bị huỷ bỏ. Câu truyện vẫn chưa kết thúc ở đây.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Lúc này một số lượng lớn người nuôi rắn hổ mang ở Delhi bị bế tắc do đột ngột mất đầu ra dẫn tới &quot;lượng hàng tồn kho lớn&quot;. Họ thả xổng bầy rắn và một lần nữa Delhi lại chìm trong thảm hoạ rắn độc, lần này còn tệ hại hơn lần trước.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;2. Điều tương tự cũng diễn ra suốt thời kỳ Pháp xâm chiếm Việt Nam. Chuột gây ra dịch bệnh ở Hà Nội. Chính quyền đề nghị treo thưởng cho mỗi đuôi con chuột bị giết. Kết quả: Người dân bắt đầu nuôi chuột để lấy đuôi. Khi chương trình bị huỷ, hàng đàn chuột lại bị thả ra, thoát ngược trở lại thành phố.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;3. Fort Benning, Georgia cũng phải trải qua vấn đề tương tự với heo rừng. Quân đội đã treo thưởng 40 USD cho mỗi đuôi heo giao nộp. Mọi người bắt đầu mua đuôi heo từ những người bán thịt hoặc lò giết mổ với &quot;giá buôn&quot; và &quot;bán lại&quot; đuôi cho quân đội với giá cao để hưởng tiền chênh lệch.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;4. Ngân hàng WellsFargo đặt ra mục tiêu doanh số không tưởng và đồng thời gây áp lực nặng nề lên nhân viên. Kết quả: hàng loạt tài khoản không xác thực được mở bởi nhân viên nhằm đạt mục tiêu doanh số và giữ việc làm.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;5. Đa phần, phàm là người sống ở gần các đền chùa, chúng ta đều có thể bắt gặp những người bán chim, cá phóng sinh. Về cơ bản, phóng sinh là điều tốt. Thế nhưng, đến giờ, ai ai cũng biết rằng, những chú chim, chú cá được thả về với biển trời tự do khoảng 30 phút sau sẽ bị thộp cổ vào lại lao tù để được bán cho người khác. Thậm chí, có chú còn không lết nổi, nằm chờ bị bắt lại. Trước khi chuyện phóng sinh phổ biến, chim cá sống vô tư; thế nhưng, khi nhu cầu làm việc thiện gia tăng, thì đời chim muông khổ sở. Rõ ràng, hành vi phóng sinh cốt để trả tự do cho muông thú, nay lại vô tình khuyến khích những thợ săn thành phố hành động ngày càng ráo riết hơn.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;6. Ở nhiều nơi trên thế giới, tiêu biểu là Bogota hay Mexico City, tình trạng ô nhiễm không khí và tắc đường do xe cộ lưu thông quá nhiều đã gây rất nhiều phiền toái cho người dân ở nơi đây. Để giải quyết tình trạng này, chính quyền ở các thành phố đã quyết định áp dụng biện pháp phân ngày chẵn lẻ cho xe, cụ thể: Tại Bogota từ năm 1998, nếu biển số một chiếc xe là số chẵn, thì xe này sẽ không được phép lưu thông vào khung giờ nóng (6:00 – 8:30 và 15:00 – 19:30) các ngày lẻ trong tuần. Đối với các xe có biển số chẵn thì cũng tương tự vào ngày chẵn. Ngày cuối tuần (chủ nhật), các xe sẽ không bị cấm lưu thông. Tình hình ở Mexico City cũng tương tự (áp dụng từ năm 1989).&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Với biện pháp này, các nhà hoạch định chính sách ở các thành phố lớn kể trên hi vọng rằng lưu lượng xe sẽ giảm, góp phần giải quyết vụ kẹt xe và ô nhiễm không khí. Tuy nhiên, mọi việc chẳng hề được như mong đợi…&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Sau 6 năm áp dụng việc phân chia giờ lưu thông ở Mexico City, một nhóm nghiên cứu của Ngân hàng Thế giới (Worldbank) đã công bố một nghiên cứu khá đau thương cho lãnh đạo thành phố này. Nghiên cứu của nhóm chỉ ra rằng, để đối phó với tình trạng hạn chế lưu thông, nhiều gia đình ở Mexico City đã… chi thêm tiền mua thêm một chiếc xe khác, nhằm thay phiên sử dụng xe tùy vào ngày chẵn ngày lẻ (ví dụ, nếu gia đình nọ đã có xe biển số lẻ, họ sẽ mua thêm một chiếc biển số chẵn). Điều này khiến cho số lượng xe sở hữu bởi người dân Mexico City gia tăng, và lưu lượng xe hàng ngày hoàn toàn không giảm bớt vào giờ cao điểm. Đau đớn hơn, vào những giờ thấp điểm hay cuối tuần, những chiếc xe mua dư sẽ được các gia đình tận dụng, khiến cho lưu lượng xe ở các thời điểm này tăng lên so với trước.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Không chỉ dừng lại ở việc tắc đường không hề thuyên giảm, tình hình ô nhiễm môi trường cũng không được cải thiện. Do lưu lượng xe trung bình tăng lên, khí thải xe cũng không ngần ngại gì mà không tăng. Đáng buồn hơn nữa, do phải chi tiền để mua đến 2 chiếc xe, các gia đình ở Mexico City có xu hướng mua lại những chiếc xe cũ thay vì xe đời mới. Vì thường thì xe cũ hao xăng và ô nhiễm hơn xe mới, nên tình trạng ô nhiễm tại thành phố này lại càng có xu hướng xấu đi.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Thế là, thay vì giảm được mật độ xe và ô nhiễm không khí, thì chính quyền Mexico City đã vô tình khiến cho cuộc sống của người dân nơi đây thêm khó chịu, ồn ã và bụi bặm…&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Hiệu ứng rắn hổ mang đối nghịch với hiệu ứng lựa chọn bất lợi. Trong lựa chọn bất lợi, người mua hàng trong một giao dịch sở hữu nhiều thông tin hơn người bán và sử dụng kiến thức đó để giành lợi thế.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Ví dụ, một người có chiếc xe đã qua thời hạn bảo hành nhưng lại muốn sửa chữa xe miễn phí sẽ mua thêm bảo hành trước khi mang xe tới xưởng. Trong hiệu ứng rắn hổ mang, đó là người bán với kiến thức nhiều hơn người mua và sẽ tận dụng nó để kiềm lời.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Tương tự, trong thị trường lao động, nếu giảm lương để đối phó với dư thừa lao động thì có thể cũng gặp vấn đề &quot;lựa chọn bất lợi&quot; nói trên. Người giỏi sẽ nghỉ, còn người dở sẽ ở lại, vô tình làm cho người thuê lao động tích lũy nhân lực tồi (lựa chọn bất lợi).&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Quả thật, một trong những định luật mạnh mẽ nhất của thiên nhiên là định luật về hiệu ứng phụ (unintended consequences). Còn nhiều ví dụ nữa, nhưng có lẽ hôm nay thế là đủ rồi. Và để chốt lại vấn đề hôm nay, xin được chốt lại bằng ý kiến của nhà kinh tế học Steve Levitt về việc dùng những chính sách có tính chất khuyến khích này:&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Tôi nghĩ bạn nên bắt đầu bằng việc chấp nhận rằng không cá nhân nào, hay chính phủ nào sẽ có thể thông minh hơn những người nghĩ cách lách luật của bạn. Vì vậy khi bạn đưa ra một chính sách khuyến khích, bạn sẽ phải chấp nhận là dù cho bạn có thông minh hay cẩn thận đến đâu, sẽ có ai đó nghĩ ra được cách lợi dụng chính sách đó cho lợi ích riêng của họ.&quot;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;________&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Nguồn: Tâm lý học tội phạm&lt;/div&gt;&lt;/div&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2019/09/hieu-ung-ran-ho-mang-cobra-effect.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-5642623110983801173</guid><pubDate>Fri, 23 Aug 2019 09:18:00 +0000</pubDate><atom:updated>2019-08-23T16:18:00.309+07:00</atom:updated><title>Video Bí quyết kiếm tiền trên youtube</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/N8Rr0GRXoN8&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2019/08/video-bi-quyet-kiem-tien-tren-youtube.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/N8Rr0GRXoN8/default.jpg" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-7558863771773135448</guid><pubDate>Mon, 15 Jul 2019 08:24:00 +0000</pubDate><atom:updated>2019-07-15T15:24:01.797+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ajax</category><category domain="http://www.blogger.com/atom/ns#">form</category><category domain="http://www.blogger.com/atom/ns#">php</category><title>cá thẻ Ví dụ tag form HTML5</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;section&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; margin-bottom: 40px;&quot;&gt;
&lt;h3 id=&quot;inp00&quot; style=&quot;background-color: #eeeeee; border-bottom: 1px solid rgb(221, 221, 221); border-radius: 4px; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 26px; font-weight: 300; margin: 0px 0px 20px; padding: 7px 0px 5px 15px;&quot;&gt;
&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_input.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;INPUT&lt;/a&gt;&lt;/h3&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp501&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng color&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;color&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Trình duyệt hiển thị dạng bảng màu, giúp cho việc lựa chọn màu thuận tiện và chính xác hơn.&lt;br /&gt;Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; type=&quot;color&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp502&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng date&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;date&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Trình duyệt hiển thị dạng bảng ngày tháng, giúp cho việc lựa chọn ngày tháng thuận tiện và chính xác hơn.&lt;br /&gt;Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; type=&quot;date&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp503&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng datetime&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;datetime&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Trình duyệt hiển thị dạng ngày tháng, giúp cho việc lựa chọn ngày tháng thuận tiện và chính xác hơn.&lt;br /&gt;Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; type=&quot;datetime&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp504&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng datetime-local&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;datetime-local&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Trình duyệt hiển thị dạng ngày tháng theo vùng, giúp cho việc lựa chọn ngày tháng theo vùng thuận tiện và chính xác hơn.&lt;br /&gt;Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; type=&quot;datetime-local&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp505&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng email&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;email&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Dạng email giúp cho trình duyệt hiểu đúng dạng nhập vào là email, dạng này được hỗ trợ đa số các trình duyệt.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; type=&quot;email&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp506&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng month&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;email&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Trình duyệt hiển thị dạng tháng, giúp cho việc lựa chọn tháng thuận tiện và chính xác hơn.&lt;br /&gt;Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; type=&quot;month&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp507&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng number&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;number&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; min=&quot;3&quot; max=&quot;10&quot; step=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
thuộc tính min, max và step không bắt buộc.&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Trình duyệt hiển thị dạng số, giúp cho việc xác định số thuận tiện và chính xác hơn.&lt;br /&gt;Dạng number được hỗ trợ phần lớn các trình duyệt,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input max=&quot;10&quot; min=&quot;3&quot; name=&quot;&quot; type=&quot;number&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp508&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng range&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;range&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; min=&quot;3&quot; max=&quot;10&quot; step=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
thuộc tính min, max và step cần phải có.&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Trình duyệt hiển thị dạng dãy số, giúp cho việc xác định số thuận tiện và chính xác hơn.&lt;br /&gt;Dạng range được hỗ trợ phần lớn các trình duyệt,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input max=&quot;10&quot; min=&quot;2&quot; name=&quot;&quot; step=&quot;2&quot; type=&quot;range&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp509&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng search&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;search&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
thuộc tính min, max và step cần phải có.&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Giúp cho trình duyệt hiểu trường nhập vào được sử dụng cho truy vấn tìm kiếm.&lt;br /&gt;Dạng range được hỗ trợ trong đa số các trình duyệt,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; type=&quot;search&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp510&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng tell&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;tell&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Giúp cho trình duyệt hiểu trường nhập vào có kiểu số điện thoại.&lt;br /&gt;Dạng tell được hỗ trợ trong đa số các trình duyệt,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; type=&quot;tell&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp511&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng time&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;time&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Trình duyệt hiển thị dạng thời gian, giúp cho việc lựa chọn thời gian thuận tiện và chính xác hơn.&lt;br /&gt;Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; type=&quot;time&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp512&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng url&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;url&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Giúp cho trình duyệt hiểu trường nhập vào có kiểu là một url.&lt;br /&gt;Dạng url được hỗ trợ trong đa số các trình duyệt,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; type=&quot;url&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp513&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng week&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;week&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Trình duyệt hiển thị dạng tuần, giúp cho việc lựa chọn các tuần thuận tiện và chính xác hơn.&lt;br /&gt;Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor01&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; type=&quot;week&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp51301&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input với thuộc tính max&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;number&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;max=&quot;10&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;date&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;max=&quot;2012-12-31&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor02&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input max=&quot;10&quot; name=&quot;&quot; type=&quot;number&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input max=&quot;2012-12-31&quot; name=&quot;&quot; type=&quot;date&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp51302&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input với thuộc tính min&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;number&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;min=&quot;5&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;date&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;min=&quot;1970-01-01&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor02&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input min=&quot;5&quot; name=&quot;&quot; type=&quot;number&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input min=&quot;1970-01-01&quot; name=&quot;&quot; type=&quot;date&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp51303&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input kết hợp 2 thuộc tính min và max&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;number&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;min=&quot;5&quot;&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;min=&quot;10&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;date&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;min=&quot;1970-01-01&quot;&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;min=&quot;2012-12-31&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor02&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input max=&quot;10&quot; min=&quot;5&quot; name=&quot;&quot; type=&quot;number&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input max=&quot;2012-12-31&quot; min=&quot;1970-01-01&quot; name=&quot;&quot; type=&quot;date&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp51304&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input với thuộc tính placeholder&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;text&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;placeholder=&quot;Click vào đây để xem kết quả&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor02&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;Click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; placeholder=&quot;Click vào đây để xem kết quả&quot; size=&quot;30&quot; type=&quot;text&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp51305&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input với thuộc tính required&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;form action=&quot;confirm.php&quot;&amp;gt;&lt;br /&gt;&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;text&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;required=&quot;required&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&amp;lt;input type=&quot;submit&quot; name=&quot;&quot; /&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor02&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;Click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;form style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; required=&quot;required&quot; type=&quot;number&quot; /&gt;&lt;input name=&quot;&quot; type=&quot;submit&quot; /&gt;&lt;/form&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp51306&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input với thuộc tính step&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;number&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;step=&quot;5&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor02&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;&quot; step=&quot;5&quot; type=&quot;number&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp51307&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input kết hợp với tag &amp;lt;datalist&amp;gt;&amp;nbsp;&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;(mới)&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Xác định giá trị các thành phần &amp;lt;input /&amp;gt; có thể có (tương tự như&amp;nbsp;&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_select.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;&amp;lt;select&amp;gt;&lt;/a&gt;&amp;nbsp;-&amp;nbsp;&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_option.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;&amp;lt;option&amp;gt;&lt;/a&gt;).&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input list=&quot;html&quot; /&amp;gt;&lt;br /&gt;&amp;lt;datalist id=&quot;html&quot;&amp;gt;&lt;br /&gt;&amp;lt;option value=&quot;Học HTML&quot;&amp;gt;&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option value=&quot;Tham khảo HTML&quot;&amp;gt;&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option value=&quot;Ví dụ HTML&quot;&amp;gt;&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option value=&quot;Thực hành HTML&quot;&amp;gt;&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/datalist&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Hiện nay chỉ có một số ít trình duyệt hỗ trợ,&amp;nbsp;&lt;a href=&quot;https://hocwebchuan.com/reference/tag/html5/tag_input.php#anchor02&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;click xem trình duyệt hỗ trợ&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Double click vô input để xem kết quả.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;input list=&quot;html&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;inp01&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng text&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;text&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; value=&quot;&quot; size=&quot;30&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Sử dụng để nhập giá trị text.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;text&quot; size=&quot;30&quot; type=&quot;text&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp0101&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng text - sử dụng maxlength&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input type=&quot;text&quot; name=&quot;&quot; value=&quot;&quot; size=&quot;30&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;maxlength=&quot;20&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Xác định chiều dài lớn nhất (trong ký tự) của một trường text hay password.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input maxlength=&quot;20&quot; name=&quot;text&quot; size=&quot;30&quot; type=&quot;text&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp0102&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng text - sử dụng readonly&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input type=&quot;text&quot; name=&quot;&quot; value=&quot;&quot; size=&quot;30&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;readonly=&quot;readonly&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Sử dụng khi giá trị text chỉ dùng để đọc, không được thay đổi.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;text&quot; readonly=&quot;&quot; size=&quot;30&quot; type=&quot;text&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp02&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng password&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;password&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; value=&quot;&quot; size=&quot;30&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Text hiển thị bên trong dưới dạng password.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;password&quot; size=&quot;30&quot; type=&quot;password&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input type=&quot;password&quot; name=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;value=&quot;myPasssword&quot;&lt;/span&gt;&amp;nbsp;size=&quot;30&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;password&quot; size=&quot;30&quot; type=&quot;password&quot; value=&quot;myPasssword&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp03&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng hidden&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;hidden&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; value=&quot;&quot; size=&quot;30&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Dạng này sẽ không hiển thì ra trình duyệt.&lt;br /&gt;Được sử dụng khi không muốn dữ liệu bị thay đổi.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp04&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng checkbox&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;checkbox&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; value=&quot;&quot; /&amp;gt;&lt;br /&gt;&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;checkbox&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; value=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Được sử dụng cho nhiều lựa chọn khác nhau.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;checkbox01&quot; type=&quot;checkbox&quot; value=&quot;&quot; /&gt;&lt;br /&gt;&lt;input name=&quot;checkbox02&quot; type=&quot;checkbox&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp0401&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng checkbox - sử dụng checked&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input type=&quot;checkbox&quot; name=&quot;&quot; value=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;checked=&quot;checked&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;checkbox&quot; name=&quot;&quot; value=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Được sử dụng cho nhiều lựa chọn khác nhau.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input checked=&quot;checked&quot; name=&quot;checkbox01&quot; type=&quot;checkbox&quot; value=&quot;&quot; /&gt;&lt;br /&gt;&lt;input name=&quot;checkbox02&quot; type=&quot;checkbox&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp0402&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng checkbox - sử dụng disabled&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input type=&quot;checkbox&quot; name=&quot;&quot; value=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;disabled=&quot;disabled&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;checkbox&quot; name=&quot;&quot; value=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Dạng này không cho click hay tác động tới input.&lt;br /&gt;Được sử dụng khi không muốn dữ liệu bị thay đổi.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input disabled=&quot;disabled&quot; name=&quot;checkbox01&quot; type=&quot;checkbox&quot; value=&quot;&quot; /&gt;&lt;br /&gt;&lt;input disabled=&quot;disabled&quot; name=&quot;checkbox02&quot; type=&quot;checkbox&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp05&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng radio&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;radio&quot;&lt;/span&gt;&amp;nbsp;name=&quot;checkbox&quot; value=&quot;&quot; /&amp;gt;&lt;br /&gt;&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;radio&quot;&lt;/span&gt;&amp;nbsp;name=&quot;checkbox&quot; value=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Được sử dụng cho một chọn lựa duy nhất.&lt;br /&gt;Các &amp;lt;input /&amp;gt; phải cùng &quot;name&quot;, nếu không sẽ không chọn được.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;checkbox&quot; type=&quot;radio&quot; value=&quot;&quot; /&gt;&lt;br /&gt;&lt;input name=&quot;checkbox&quot; type=&quot;radio&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp0501&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng radio - sử dụng checked&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input type=&quot;radio&quot; name=&quot;checkbox&quot; value=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;checked=&quot;checked&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;radio&quot; name=&quot;checkbox&quot; value=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Được sử dụng cho một chọn lựa mặc định.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input checked=&quot;checked&quot; name=&quot;checkbox&quot; type=&quot;radio&quot; value=&quot;&quot; /&gt;&lt;br /&gt;&lt;input name=&quot;checkbox&quot; type=&quot;radio&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp0502&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng radio - sử dụng disabled&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input type=&quot;radio&quot; name=&quot;checkbox&quot; value=&quot;&quot;&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;disabled=&quot;disabled&quot;&lt;/span&gt;&amp;nbsp;/&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;radio&quot; name=&quot;checkbox&quot; value=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Dạng này không cho click hay tác động tới input.&lt;br /&gt;Được sử dụng khi không muốn dữ liệu bị thay đổi.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input disabled=&quot;disabled&quot; name=&quot;checkbox&quot; type=&quot;radio&quot; value=&quot;&quot; /&gt;&lt;br /&gt;&lt;input disabled=&quot;disabled&quot; name=&quot;checkbox&quot; type=&quot;radio&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp06&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng button&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;button&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; value=&quot;Click&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Sử dụng như một nút nhấn.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;button&quot; type=&quot;button&quot; value=&quot;Click&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp07&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng button reset&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;reset&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; value=&quot;Reset&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Dùng để reset lại giá trị trong&amp;nbsp;&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_form.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;&amp;lt;form&amp;gt;&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;reset&quot; type=&quot;reset&quot; value=&quot;Reset&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp08&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng button submit&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;submit&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; value=&quot;Submit&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Dùng để gửi dữ liệu lên server, dữ liệu được gửi thông qua thuộc tính&amp;nbsp;&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_form.php#requireAttr&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;action&lt;/a&gt;&amp;nbsp;trong&amp;nbsp;&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_form.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;&amp;lt;form&amp;gt;&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;submit&quot; type=&quot;submit&quot; value=&quot;Submit&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp09&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng button image&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;image&quot;&lt;/span&gt;&amp;nbsp;src=&quot;images/btn_submit.jpeg&quot; alt=&quot;SUBMIT&quot; name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Sử dụng như một nút nhấn bằng hình.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input alt=&quot;SUBMIT&quot; name=&quot;image&quot; src=&quot;https://hocwebchuan.com/reference/tag/example/images/btn_submit.jpeg&quot; type=&quot;image&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;inp10&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Input dạng file upload&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;input&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;type=&quot;file&quot;&lt;/span&gt;&amp;nbsp;name=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Sử dụng để upload file.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;input name=&quot;file&quot; type=&quot;file&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; margin-bottom: 40px;&quot;&gt;
&lt;h3 id=&quot;but01&quot; style=&quot;background-color: #eeeeee; border-bottom: 1px solid rgb(221, 221, 221); border-radius: 4px; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 26px; font-weight: 300; margin: 0px 0px 20px; padding: 7px 0px 5px 15px;&quot;&gt;
&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_button.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;BUTTON&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;button type=&quot;button&quot;&amp;gt;Click me!&amp;lt;/button&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;button style=&quot;background-color: #971111; border-color: rgb(102, 102, 102); border-radius: 4px; border-style: solid; border-width: 1px; color: white; cursor: pointer; height: 36px; opacity: 1; transition: opacity 0.3s ease 0s; width: 100px;&quot; type=&quot;button&quot;&gt;Click me!&lt;/button&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;button type=&quot;button&quot; disabled=&quot;disabled&quot;&amp;gt;Disabled&amp;lt;/button&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;button disabled=&quot;disabled&quot; style=&quot;background-color: #971111; border-color: rgb(102, 102, 102); border-radius: 4px; border-style: solid; border-width: 1px; color: white; cursor: pointer; height: 36px; opacity: 1; transition: opacity 0.3s ease 0s; width: 100px;&quot; type=&quot;button&quot;&gt;Disabled&lt;/button&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;button type=&quot;button&quot; name=&quot;tênButton&quot;&amp;gt;Name&amp;lt;/button&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;button name=&quot;tênButton&quot; style=&quot;background-color: #971111; border-color: rgb(102, 102, 102); border-radius: 4px; border-style: solid; border-width: 1px; color: white; cursor: pointer; height: 36px; opacity: 1; transition: opacity 0.3s ease 0s; width: 100px;&quot; type=&quot;button&quot;&gt;Name&lt;/button&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;button type=&quot;reset&quot;&amp;gt;Reset&amp;lt;/button&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;button style=&quot;background-color: #971111; border-color: rgb(102, 102, 102); border-radius: 4px; border-style: solid; border-width: 1px; color: white; cursor: pointer; height: 36px; opacity: 1; transition: opacity 0.3s ease 0s; width: 100px;&quot; type=&quot;reset&quot;&gt;Reset&lt;/button&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;button type=&quot;submit&quot;&amp;gt;Submit&amp;lt;/button&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;button style=&quot;background-color: #971111; border-color: rgb(102, 102, 102); border-radius: 4px; border-style: solid; border-width: 1px; color: white; cursor: pointer; height: 36px; opacity: 1; transition: opacity 0.3s ease 0s; width: 100px;&quot; type=&quot;submit&quot;&gt;Submit&lt;/button&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;button type=&quot;button&quot; value=&quot;Gửi&quot;&amp;gt;Value&amp;lt;/button&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;button style=&quot;background-color: #971111; border-color: rgb(102, 102, 102); border-radius: 4px; border-style: solid; border-width: 1px; color: white; cursor: pointer; height: 36px; opacity: 1; transition: opacity 0.3s ease 0s; width: 100px;&quot; type=&quot;button&quot; value=&quot;Gửi&quot;&gt;Value&lt;/button&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; margin-bottom: 40px;&quot;&gt;
&lt;h3 id=&quot;lab00&quot; style=&quot;background-color: #eeeeee; border-bottom: 1px solid rgb(221, 221, 221); border-radius: 4px; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 26px; font-weight: 300; margin: 0px 0px 20px; padding: 7px 0px 5px 15px;&quot;&gt;
&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_label.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;LABEL&lt;/a&gt;&lt;/h3&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;lab01&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Label - input dạng text&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;label for=&quot;email&quot;&amp;gt;Email&amp;lt;/label&amp;gt;: &amp;lt;input type=&quot;text&quot; id=&quot;email&quot; name=&quot;email&quot; size=&quot;30&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Hãy click vào nhãn Email để hiểu rõ hơn.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;label for=&quot;email&quot;&gt;Email&lt;/label&gt;:&amp;nbsp;&lt;input id=&quot;email&quot; name=&quot;email&quot; size=&quot;30&quot; type=&quot;text&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;lab02&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Label - input dạng checkbox&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;label for=&quot;label01&quot;&amp;gt;Nhãn 01&amp;lt;/label&amp;gt;: &amp;lt;input type=&quot;checkbox&quot; id=&quot;label01&quot; name=&quot;label01&quot; value=&quot;&quot; /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;label for=&quot;label02&quot;&amp;gt;Nhãn 02&amp;lt;/label&amp;gt;: &amp;lt;input type=&quot;checkbox&quot; id=&quot;label02&quot; name=&quot;label02&quot; value=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Hãy click vào nhãn 01 và 02 để hiểu rõ hơn.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;label for=&quot;label01&quot;&gt;Nhãn 01&lt;/label&gt;:&amp;nbsp;&lt;input id=&quot;label01&quot; name=&quot;label01&quot; type=&quot;checkbox&quot; value=&quot;&quot; /&gt;&lt;br /&gt;&lt;label for=&quot;label02&quot;&gt;Nhãn 02&lt;/label&gt;:&amp;nbsp;&lt;input id=&quot;label02&quot; name=&quot;label02&quot; type=&quot;checkbox&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;lab03&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
Label - input dạng radio&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;label for=&quot;male&quot;&amp;gt;Nam&amp;lt;/label&amp;gt;: &amp;lt;input type=&quot;radio&quot; id=&quot;male&quot; name=&quot;sex&quot; value=&quot;&quot; /&amp;gt;&lt;br /&gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;label for=&quot;female&quot;&amp;gt;Nữ&amp;lt;/label&amp;gt;: &amp;lt;input type=&quot;radio&quot; id=&quot;female&quot; name=&quot;sex&quot; value=&quot;&quot; /&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Hãy click vào nhãn Nam và Nữ để hiểu rõ hơn (&lt;span class=&quot;red&quot; style=&quot;color: red;&quot;&gt;chú ý:&lt;/span&gt;&amp;nbsp;giá trị của &quot;name&quot; trong 2 &amp;lt;input /&amp;gt; phải như nhau).&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;label for=&quot;male&quot;&gt;Nam&lt;/label&gt;:&amp;nbsp;&lt;input id=&quot;male&quot; name=&quot;sex&quot; type=&quot;radio&quot; value=&quot;&quot; /&gt;&lt;br /&gt;&lt;label for=&quot;female&quot;&gt;Nữ&lt;/label&gt;:&amp;nbsp;&lt;input id=&quot;female&quot; name=&quot;sex&quot; type=&quot;radio&quot; value=&quot;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; margin-bottom: 40px;&quot;&gt;
&lt;h3 id=&quot;tex00&quot; style=&quot;background-color: #eeeeee; border-bottom: 1px solid rgb(221, 221, 221); border-radius: 4px; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 26px; font-weight: 300; margin: 0px 0px 20px; padding: 7px 0px 5px 15px;&quot;&gt;
&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_textarea.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;TEXTAREA&lt;/a&gt;&lt;/h3&gt;
&lt;h4 class=&quot;firstHead&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
rows - cols&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;textarea rows=&quot;5&quot; cols=&quot;20&quot;&amp;gt;Bạn đang xem tag html textarea, là text có thể nhập được văn bản, và có thể chứa rất nhiều dòng...&amp;lt;/textarea&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;textarea cols=&quot;40&quot; rows=&quot;5&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;tex02&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
disabled&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;textarea rows=&quot;5&quot; cols=&quot;20&quot; disabled=&quot;disabled&quot;&amp;gt;Bạn đang xem tag html textarea, là text có thể nhập được văn bản, và có thể chứa rất nhiều dòng...&amp;lt;/textarea&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Dạng này sẽ không hiển thì ra trình duyệt.&lt;br /&gt;Được sử dụng khi không muốn dữ liệu bị thay đổi.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;textarea cols=&quot;40&quot; disabled=&quot;disabled&quot; rows=&quot;5&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;tex03&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
readonly&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;textarea rows=&quot;5&quot; cols=&quot;20&quot; readonly=&quot;readonly&quot;&amp;gt;Bạn đang xem tag html textarea, là text có thể nhập được văn bản, và có thể chứa rất nhiều dòng...&amp;lt;/textarea&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Sử dụng khi giá trị textarea chỉ dùng để đọc, không được thay đổi.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;textarea cols=&quot;40&quot; readonly=&quot;&quot; rows=&quot;5&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; margin-bottom: 40px;&quot;&gt;
&lt;h3 id=&quot;se00&quot; style=&quot;background-color: #eeeeee; border-bottom: 1px solid rgb(221, 221, 221); border-radius: 4px; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 26px; font-weight: 300; margin: 0px 0px 20px; padding: 7px 0px 5px 15px;&quot;&gt;
&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_select.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;SELECT&lt;/a&gt;&amp;nbsp;-&amp;nbsp;&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_option.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;OPTION&lt;/a&gt;&lt;/h3&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;se01&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
select - option&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;select&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 01&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 02&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 04&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;select&gt;&amp;nbsp;&lt;option&gt;Danh sách 01&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 02&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 04&lt;/option&gt;&amp;nbsp;&lt;/select&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;se02&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
select - sử dụng name&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;select name=&quot;TenDanhSach&quot;&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 01&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 02&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 04&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;select&gt;&amp;nbsp;&lt;option&gt;Danh sách 01&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 02&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 04&lt;/option&gt;&amp;nbsp;&lt;/select&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;se03&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
select - sử dụng disabled&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;select disabled=&quot;disabled&quot;&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 01&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 02&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 04&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Xác định danh sách thả xuống không hiển thị.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;select disabled=&quot;disabled&quot;&gt;&amp;nbsp;&lt;option&gt;Danh sách 01&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 02&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 04&lt;/option&gt;&amp;nbsp;&lt;/select&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;se04&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
select - sử dụng multiple&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;select multiple=&quot;multiple&quot;&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 01&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 02&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 04&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Hiển thị nhiều tùy chọn.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;select multiple=&quot;multiple&quot;&gt;&amp;nbsp;&lt;option&gt;Danh sách 01&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 02&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 04&lt;/option&gt;&amp;nbsp;&lt;/select&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;se05&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
select - sử dụng size&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;select size=&quot;3&quot;&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 01&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 02&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 04&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Xác định số tùy chọn có thể thấy trong danh sách lựa chọn.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;select size=&quot;3&quot;&gt;&amp;nbsp;&lt;option&gt;Danh sách 01&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 02&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 04&lt;/option&gt;&amp;nbsp;&lt;/select&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;se06&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
option - sử dụng disabled&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;select&amp;gt;&lt;br /&gt;&amp;lt;option disabled=&quot;disabled&quot;&amp;gt;Danh sách 01&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 02&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 04&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Xác định danh sách thả xuống không hiển thị.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;select&gt;&amp;nbsp;&lt;option disabled=&quot;disabled&quot;&gt;Danh sách 01&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 02&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 04&lt;/option&gt;&amp;nbsp;&lt;/select&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;se07&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
option - sử dụng label&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;select&amp;gt;&lt;br /&gt;&amp;lt;option label=&quot;label01&quot;&amp;gt;Danh sách 01&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option label=&quot;label02&quot;&amp;gt;Danh sách 02&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option label=&quot;label03&quot;&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option label=&quot;label04&quot;&amp;gt;Danh sách 04&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Xác định nhãn cho tùy chon.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;select&gt;&amp;nbsp;&lt;option label=&quot;label01&quot;&gt;Danh sách 01&lt;/option&gt;&amp;nbsp;&lt;option label=&quot;label02&quot;&gt;Danh sách 02&lt;/option&gt;&amp;nbsp;&lt;option label=&quot;label03&quot;&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;option label=&quot;label04&quot;&gt;Danh sách 04&lt;/option&gt;&amp;nbsp;&lt;/select&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;se08&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
option - sử dụng selected&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;select&amp;gt; &amp;lt;option&amp;gt;Danh sách 01&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option selected=&quot;selected&quot;&amp;gt;Danh sách 02&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 04&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Xác định một tùy chọn được chọn mặc định.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;select&gt;&amp;nbsp;&lt;option&gt;Danh sách 01&lt;/option&gt;&amp;nbsp;&lt;option selected=&quot;selected&quot;&gt;Danh sách 02&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 04&lt;/option&gt;&amp;nbsp;&lt;/select&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;se09&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
option - sử dụng value&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;select&amp;gt;&lt;br /&gt;&amp;lt;option value=&quot;value01&quot;&amp;gt;Danh sách 01&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option value=&quot;value02&quot;&amp;gt;Danh sách 02&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option value=&quot;value03&quot;&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option value=&quot;value04&quot;&amp;gt;Danh sách 04&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Xác định giá trị của tùy chọn (sẽ được gửi tới server khi submit).&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;select&gt;&amp;nbsp;&lt;option value=&quot;value01&quot;&gt;Danh sách 01&lt;/option&gt;&amp;nbsp;&lt;option value=&quot;value02&quot;&gt;Danh sách 02&lt;/option&gt;&amp;nbsp;&lt;option value=&quot;value03&quot;&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;option value=&quot;value04&quot;&gt;Danh sách 04&lt;/option&gt;&amp;nbsp;&lt;/select&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; margin-bottom: 40px;&quot;&gt;
&lt;h3 id=&quot;opt00&quot; style=&quot;background-color: #eeeeee; border-bottom: 1px solid rgb(221, 221, 221); border-radius: 4px; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 26px; font-weight: 300; margin: 0px 0px 20px; padding: 7px 0px 5px 15px;&quot;&gt;
&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_optgroup.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;OPTGROUP&lt;/a&gt;&lt;/h3&gt;
&lt;h4 class=&quot;firstHead&quot; id=&quot;opt01&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
optgroup - sử dụng label&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;select&amp;gt;&lt;br /&gt;&amp;lt;optgroup label=&quot;Danh sách số&quot;&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 01&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 02&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/optgroup&amp;gt;&lt;br /&gt;&amp;lt;optgroup label=&quot;Danh sách chữ&quot;&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách A&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách B&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách C&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/optgroup&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;select&gt;&amp;nbsp;&lt;optgroup label=&quot;Danh sách số&quot;&gt;&amp;nbsp;&lt;option&gt;Danh sách 01&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 02&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;/optgroup&gt;&amp;nbsp;&lt;optgroup label=&quot;Danh sách chữ&quot;&gt;&amp;nbsp;&lt;option&gt;Danh sách A&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách B&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách C&lt;/option&gt;&amp;nbsp;&lt;/optgroup&gt;&amp;nbsp;&lt;/select&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&quot;opt02&quot; style=&quot;font-weight: 400; margin: 0px; padding: 0px;&quot;&gt;
optgroup - sử dụng disabled&lt;/h4&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;select&amp;gt;&lt;br /&gt;&amp;lt;optgroup label=&quot;Danh sách số&quot; disabled=&quot;disabled&quot;&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 01&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 02&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách 03&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/optgroup&amp;gt;&lt;br /&gt;&amp;lt;optgroup label=&quot;Danh sách chữ&quot;&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách A&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách B&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Danh sách C&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/optgroup&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;select&gt;&amp;nbsp;&lt;optgroup disabled=&quot;disabled&quot; label=&quot;Danh sách số&quot;&gt;&amp;nbsp;&lt;option&gt;Danh sách 01&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 02&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách 03&lt;/option&gt;&amp;nbsp;&lt;/optgroup&gt;&amp;nbsp;&lt;optgroup label=&quot;Danh sách chữ&quot;&gt;&amp;nbsp;&lt;option&gt;Danh sách A&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách B&lt;/option&gt;&amp;nbsp;&lt;option&gt;Danh sách C&lt;/option&gt;&amp;nbsp;&lt;/optgroup&gt;&amp;nbsp;&lt;/select&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; margin-bottom: 40px;&quot;&gt;
&lt;h3 id=&quot;fie01&quot; style=&quot;background-color: #eeeeee; border-bottom: 1px solid rgb(221, 221, 221); border-radius: 4px; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 26px; font-weight: 300; margin: 0px 0px 20px; padding: 7px 0px 5px 15px;&quot;&gt;
&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_fieldset.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;FIELDSET&lt;/a&gt;&amp;nbsp;-&amp;nbsp;&lt;a class=&quot;blue&quot; href=&quot;https://hocwebchuan.com/reference/tag/tag_legend.php&quot; style=&quot;color: #1a5eba; outline: none; text-decoration-line: none; transition: all 0.2s linear 0s;&quot;&gt;LEGEND&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;form action=&quot;#&quot;&amp;gt;&lt;br /&gt;&amp;lt;fieldset&amp;gt;&lt;br /&gt;&amp;lt;legend&amp;gt;Thông tin cá nhân:&amp;lt;/legend&amp;gt;&lt;br /&gt;Họ tên: &amp;lt;input type=&quot;text&quot; size=&quot;30&quot; /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;Email: &amp;lt;input type=&quot;text&quot; size=&quot;30&quot; /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;Ngày sinh: &amp;lt;input type=&quot;text&quot; size=&quot;10&quot; /&amp;gt;&lt;br /&gt;&amp;lt;/fieldset&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;form action=&quot;https://hocwebchuan.com/&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;fieldset style=&quot;border-color: initial; border-style: initial; border-width: 0px;&quot;&gt;
&lt;legend&gt;Thông tin cá nhân:&lt;/legend&gt;&lt;ul style=&quot;list-style: none; margin: 0px; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; width: 644px;&quot;&gt;Họ tên:&amp;nbsp;&lt;input size=&quot;30&quot; type=&quot;text&quot; /&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; width: 644px;&quot;&gt;Email:&amp;nbsp;&lt;input size=&quot;30&quot; type=&quot;text&quot; /&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; width: 644px;&quot;&gt;Ngày sinh:&amp;nbsp;&lt;input size=&quot;10&quot; type=&quot;text&quot; /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/fieldset&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; margin-bottom: 40px;&quot;&gt;
&lt;h3 class=&quot;anchor02&quot; style=&quot;background-color: #eeeeee; border-bottom: 1px solid rgb(221, 221, 221); border-radius: 4px; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 26px; font-weight: 300; margin: 0px 0px 20px; padding: 7px 0px 5px 15px;&quot;&gt;
Thuộc tính disabled=&quot;disabled&quot;&lt;/h3&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
Khi sử dụng thuộc tính này, chúng ta không thể nào thao tác các chức năng trong form được, ví dụ như không thể click checkbox, radio, không thể điền trường text cho input hay khu vực textarea.&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&amp;lt;!DOCTYPE HTML&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;form action=&quot;#&quot;&amp;gt;&lt;br /&gt;&amp;lt;fieldset&amp;nbsp;&lt;span class=&quot;blue&quot; style=&quot;color: #1a5eba;&quot;&gt;disabled=&quot;disabled&quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;legend&amp;gt;Thông tin cá nhân:&amp;lt;/legend&amp;gt;&lt;br /&gt;Họ tên: &amp;lt;input type=&quot;text&quot; size=&quot;30&quot; /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;Email: &amp;lt;input type=&quot;text&quot; size=&quot;30&quot; /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;Ngày sinh: &amp;lt;input type=&quot;text&quot; size=&quot;10&quot; /&amp;gt;&lt;br /&gt;&amp;lt;/fieldset&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sourceTxt&quot; style=&quot;background: rgb(236, 249, 249); border-radius: 4px; border: 1px solid rgb(221, 221, 221); margin: 5px 0px; overflow-wrap: break-word; padding: 10px;&quot;&gt;
&lt;div class=&quot;exBrowser&quot; style=&quot;background: rgb(255, 255, 255); border: 1px dashed rgb(221, 221, 221); margin: 5px; padding: 10px;&quot;&gt;
&lt;form action=&quot;https://hocwebchuan.com/&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;fieldset disabled=&quot;&quot; style=&quot;border-color: rgb(0, 0, 0); border-style: solid; border-width: 1px;&quot;&gt;
&lt;legend&gt;Thông tin cá nhân:&lt;/legend&gt;&lt;ul style=&quot;list-style: none; margin: 0px; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; width: 642px;&quot;&gt;Họ tên:&amp;nbsp;&lt;input size=&quot;30&quot; type=&quot;text&quot; /&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; width: 642px;&quot;&gt;Email:&amp;nbsp;&lt;input size=&quot;30&quot; type=&quot;text&quot; /&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; width: 642px;&quot;&gt;Ngày sinh:&amp;nbsp;&lt;input size=&quot;10&quot; type=&quot;text&quot; /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/fieldset&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2019/07/ca-vi-du-tag-form-html5.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-4947464271319623577</guid><pubDate>Mon, 15 Jul 2019 03:39:00 +0000</pubDate><atom:updated>2019-07-15T10:39:30.161+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ajax</category><category domain="http://www.blogger.com/atom/ns#">JQuery</category><category domain="http://www.blogger.com/atom/ns#">lập trình web</category><category domain="http://www.blogger.com/atom/ns#">word-excel</category><title>JQuery Ajax và cách sử dụng jQuery Ajax để tải dữ liệu không cần tải lại trang</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;blockquote style=&quot;background-color: white; border-left: 5px solid rgb(238, 238, 238); box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17.5px; margin: 0px 0px 20px; padding: 10px 20px;&quot;&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 25px;&quot;&gt;
AJAX&amp;nbsp;viết tắt của câu&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Asynchronous JavaScript and XML&lt;/span&gt;&amp;nbsp;(JavaScript và XML không đồng bộ) là một phần trong thư viện&amp;nbsp;JQuery. Nó là phương thức cho phép tải một phần dữ liệu mới vào tài liệu HTML mà không cần phải tải lại toàn bộ tài liệu, giúp giảm thiểu thời gian tải trang cũng như băng thông của website.&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; height=&quot;355&quot; src=&quot;https://www.youtube.com/embed/qjJ59VMBHt8&quot; style=&quot;box-sizing: border-box;&quot; width=&quot;100%&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: Roboto; font-size: 28px; font-weight: 500; line-height: 1.1; margin: 30px 0px;&quot;&gt;
Các phương thức trong Jquery&lt;/h2&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: Roboto; font-size: 18px; font-weight: 500; line-height: 1.1; margin: 30px 0px;&quot;&gt;
Phương thức load()&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; padding: 2px 4px;&quot;&gt;Load()&lt;/code&gt;&amp;nbsp;là một phương thức đơn giản nhất trong kỹ thuật ajax. Chức năng của nó là tải và hiển thị nội dung đã tải vào một phần tử HTML nào đó.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Cú pháp:&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; padding: 2px 4px;&quot;&gt;&amp;nbsp;load(url, params, callback)&lt;/code&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; list-style: circle outside; margin-bottom: 10px; margin-top: 10px; padding: 0px 0px 0px 35px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;url&lt;/span&gt;: URL Tiếp nhận, xử lý và gửi lại dữ liệu.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Params&lt;/span&gt;: lưu giữ các biến cần gửi đi.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Callback&lt;/span&gt;: hàm mà nó sẽ gọi đến sau khi quá trình Ajax hoàn tất .&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Ví dụ:&lt;/div&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow-wrap: break-word; overflow: auto; padding: 9.5px; word-break: break-all;&quot;&gt;$(document).ready(function( ){
&amp;nbsp; &amp;nbsp;$(&quot;div#result&quot;).load(&quot;result.php&quot;, {user: admin}, callback);
});
function callback(){
&amp;nbsp; &amp;nbsp;alert(&quot;Kết thúc quá trình.&quot;);
}
//Nội dung trong result.php
if(isset($_POST[&#39;user&#39;]))
{
 echo &#39;Bạn đã gửi dữ liệu của người dùng = &#39;.$_POST[&#39;user&#39;].&#39; thành công&#39;;
}else{
 echo &#39;Không nhận được dữ liệu của người dùng nào&#39;;
}&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: Roboto; font-size: 18px; font-weight: 500; line-height: 1.1; margin: 30px 0px;&quot;&gt;
Phương thức get()&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Để gửi dữ liệu theo phương thức&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; padding: 2px 4px;&quot;&gt;get()&lt;/code&gt;&amp;nbsp;của kỹ thuật ajax. ta có cú pháp sau:&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Cú pháp:&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; padding: 2px 4px;&quot;&gt;get(url, params, callback)&lt;/code&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; list-style: circle outside; margin-bottom: 10px; margin-top: 10px; padding: 0px 0px 0px 35px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Các tham số tương tự như phương thức load().&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Ví dụ:&lt;/div&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow-wrap: break-word; overflow: auto; padding: 9.5px; word-break: break-all;&quot;&gt;$(document).ready(function( ){
   $.get(&quot;result.php&quot;, {user: admin}, function(data){$(&quot;div#result&quot;).html(data);});
});
//Nội dung trong result.php
if(isset($_GET[&#39;user&#39;]))
{
 echo &#39;Bạn đã gửi dữ liệu của người dùng = &#39;.$_POST[&#39;user&#39;].&#39; thành công&#39;;
}else{
 echo &#39;Không nhận được dữ liệu của người dùng nào&#39;;
}&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: Roboto; font-size: 18px; font-weight: 500; line-height: 1.1; margin: 30px 0px;&quot;&gt;
Phương thức post()&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Tương tự như phương thức&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; padding: 2px 4px;&quot;&gt;get()&lt;/code&gt;&amp;nbsp;của kỹ thuật ajax, phương thức post giúp bảo mật dữ liệu gửi đi tốt hơn. ta có cú pháp sau:&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Cú pháp:&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; padding: 2px 4px;&quot;&gt;post(url, params, callback)&lt;/code&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; list-style: circle outside; margin-bottom: 10px; margin-top: 10px; padding: 0px 0px 0px 35px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Các tham số tương tự như phương thức&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; padding: 2px 4px;&quot;&gt;load()&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Ví dụ:&lt;/div&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow-wrap: break-word; overflow: auto; padding: 9.5px; word-break: break-all;&quot;&gt;$(document).ready(function( ){
   $.post(&quot;result.php&quot;, {user: admin}, function(data){$(&quot;div#result&quot;).html(data);});
});
//Nội dung trong result.php
if(isset($_POST[&#39;user&#39;]))
{
 echo &#39;Bạn đã gửi dữ liệu của người dùng = &#39;.$_POST[&#39;user&#39;].&#39; thành công&#39;;
}else{
 echo &#39;Không nhận được dữ liệu của người dùng nào&#39;;
}&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: Roboto; font-size: 18px; font-weight: 500; line-height: 1.1; margin: 30px 0px;&quot;&gt;
Phương thức ajax()&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Ngoài các phương thức trên,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; padding: 2px 4px;&quot;&gt;ajax()&lt;/code&gt;&amp;nbsp;là một phương thức tổng quát phổ biến nhất để sử dụng tải dữ liệu bất động bộ. Phương thức này cho phép cấu hình và tùy chỉnh các thông số, không bị bó buột như các phương thức trên.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Cú pháp:&lt;/div&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow-wrap: break-word; overflow: auto; padding: 9.5px; word-break: break-all;&quot;&gt;$.ajax({
  type: &#39;Loại gửi dữ liệu (POST hoặc GET)&#39;,
  url: &#39;URL Tiếp nhận, xử lý và gửi lại dữ liệu&#39;,
  data: { Các biến dữ liệu được gửi lên server.(ten_bien1:dữliệu,ten_bien2:dữliệu,...). Có thể sử dụng  var data = $(&#39;form#ID_form&#39;).serialize(); để lấy toàn bộ dữ liệu từ 1 form có id là ID_form},
  dataType: Kiểu dữ liệu trả về (&#39;html&#39;,&#39;text&#39;,&#39;json&#39;,&#39;xml&#39;),
  success: function(data) {
    Nội dung sẽ được thực thi sau khi nhận được dữ liệu từ server
  },
  error: function() {
    Nội dung sẽ được thực thi khi có lỗi phát sinh
  }
});&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Mình sẻ có vụ dụ cụ thể trong phần dưới đây.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: Roboto; font-size: 28px; font-weight: 500; line-height: 1.1; margin: 30px 0px;&quot;&gt;
Cách sử dụng&amp;nbsp;JQuery Ajax để tải dữ liệu&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Đây là ví dụ về việc sử dụng&amp;nbsp;JQuery với phương thức Ajax để tải dữ liệu về từ server.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Đầu tiên bạn mở tệp HTML và tạo một form đơn giản như sau.&lt;/div&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow-wrap: break-word; overflow: auto; padding: 9.5px; word-break: break-all;&quot;&gt;&amp;lt;form class=&quot;form-horizontal&quot; id=&quot;form_input&quot;&amp;gt;
&amp;nbsp; &amp;nbsp;&amp;lt;input type=&quot;text&quot; name=&quot;user&quot;&amp;gt;
&amp;nbsp; &amp;nbsp;&amp;lt;button type=&quot;submit&quot;&amp;gt;Gửi&amp;lt;/button&amp;gt;
 &amp;lt;/form&amp;gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Trong thẻ&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; padding: 2px 4px;&quot;&gt;&amp;lt;head&amp;gt;&lt;/code&gt;&amp;nbsp;của tài liệu HTML bạn thêm thư viện Jquery mới nhất vào.&lt;/div&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow-wrap: break-word; overflow: auto; padding: 9.5px; word-break: break-all;&quot;&gt;&amp;lt;script src=&quot;http://code.jquery.com/jquery-1.12.0.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Tiếp theo là bạn bỏ đoạn JQuery Ajax này vào dưới trang.&lt;/div&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow-wrap: break-word; overflow: auto; padding: 9.5px; word-break: break-all;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
   $(document).ready(function()
   { 
      //khai báo biến submit form lấy đối tượng nút submit
      var submit = $(&quot;button[type=&#39;submit&#39;]&quot;);

      //khi nút submit được click
      submit.click(function()
      {
        //khai báo các biến dữ liệu gửi lên server
        var user = $(&quot;input[name=&#39;user&#39;]&quot;).val(); //lấy giá trị trong input user
 
        //Kiểm tra xem trường đã được nhập hay chưa
        if(user == &#39;&#39;){
          alert(&#39;Vui lòng nhập Tên người dùng&#39;);
          return false;
        }
 
        //Lấy toàn bộ dữ liệu trong Form
        var data = $(&#39;form#form_input&#39;).serialize();
      
        //Sử dụng phương thức Ajax.
        $.ajax({
              type : &#39;GET&#39;, //Sử dụng kiểu gửi dữ liệu POST
              url : &#39;data.php&#39;, //gửi dữ liệu sang trang data.php
              data : data, //dữ liệu sẽ được gửi
              success : function(data)  // Hàm thực thi khi nhận dữ liệu được từ server
                        { 
                           if(data == &#39;false&#39;) 
                           {
                             alert(&#39;Không có người dùng&#39;);
                           }else{
                             $(&#39;#content&#39;).html(data); dữ liệu HTML trả về sẽ được chèn vào trong thẻ có id content
                           }
                        }
              });
              return false;
        });
    });
&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Cuối cùng là nội dung xử lý trong file&amp;nbsp;data.php&lt;/div&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow-wrap: break-word; overflow: auto; padding: 9.5px; word-break: break-all;&quot;&gt;&amp;lt;?php 
&amp;nbsp; $user= trim($_POST[&#39;user&#39;]);
?&amp;gt;
 &amp;lt;p&amp;gt;Xin chào &amp;lt;?php echo $user; ?&amp;gt;&amp;lt;/p&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2019/07/jquery-ajax-va-cach-su-dung-jquery-ajax.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/qjJ59VMBHt8/default.jpg" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-2632058001936857356</guid><pubDate>Thu, 28 Feb 2019 17:41:00 +0000</pubDate><atom:updated>2019-03-01T00:41:40.896+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">word-excel</category><title>Cách tạo menu chức năng và  chạy macros trên google sheets</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre style=&quot;overflow-wrap: break-word; white-space: pre-wrap;&quot;&gt;function onOpen( ){
// This line calls the SpreadsheetApp and gets its UI   
// Or DocumentApp or FormApp.
  var ui = SpreadsheetApp.getUi();
 
//These lines create the menu items and 
// tie them to functions we will write in Apps Script
  
 ui.createMenu(&#39;Học Excel Online&#39;)
      .addItem(&#39;1. formulasToValuesActiveSheet&#39;, &#39;formulasToValuesActiveSheet&#39;)
      .addItem(&#39;2. formulasToValuesGlobal&#39;, &#39;formulasToValuesGlobal&#39;)
      .addItem(&#39;3. sortSheets&#39;, &#39;sortSheets&#39;)
      .addItem(&#39;4. unhideRowsColumnsActiveSheet&#39;, &#39;unhideRowsColumnsActiveSheet&#39;)
      .addItem(&#39;5. unhideRowsColumnsGlobal&#39;, &#39;unhideRowsColumnsGlobal&#39;)
      .addItem(&#39;6. setTabColor&#39;, &#39;setTabColor&#39;)
      .addItem(&#39;7. resetTabColor&#39;, &#39;resetTabColor&#39;)
      .addItem(&#39;8. hideAllSheetsExceptActive&#39;, &#39;hideAllSheetsExceptActive&#39;)
      .addItem(&#39;9. unhideAllSheets&#39;, &#39;unhideAllSheets&#39;)
      .addItem(&#39;10. resetFilter&#39;, &#39;resetFilter&#39;)
      .addSeparator()
      .addSubMenu(ui.createMenu(&#39;Các khóa học&#39;)
                  .addItem(&#39;Google Sheets cho người mới bắt đầu&#39;, &#39;course01&#39;)
                  .addItem(&#39;Google Sheets cho người đi làm&#39;, &#39;course02&#39;))
      .addToUi();
}

function course01() {
  Browser.msgBox(&quot;Chào mừng đến với khóa học&quot;);
}&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe width=&quot;320&quot; height=&quot;266&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/zeRGcOa8MeI/0.jpg&quot; src=&quot;https://www.youtube.com/embed/zeRGcOa8MeI?feature=player_embedded&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2019/03/cach-tao-menu-chuc-nang-va-chay-macros.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/zeRGcOa8MeI/default.jpg" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-7268628222108333591</guid><pubDate>Thu, 28 Feb 2019 17:23:00 +0000</pubDate><atom:updated>2019-03-01T00:42:19.543+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">word-excel</category><title>[Google apps script] Nút chức năng thực hiện một function trong trang tính</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;post-footer d-flex align-items-center justify-content-end mb-2&quot; style=&quot;-webkit-text-stroke-width: 0px; align-items: center !important; background-color: white; box-sizing: border-box; color: #292b2c; display: flex !important; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; justify-content: flex-end !important; letter-spacing: normal; margin-bottom: 1.5rem !important; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;social-sharing mr-1 social-sharing--vertical social-sharing--medium&quot; data-v-699851c4=&quot;&quot; style=&quot;box-sizing: border-box; font-size: 20px; margin-right: 1rem !important;&quot;&gt;
&lt;a class=&quot;link link--muted&quot; data-original-title=&quot;Share a link to this page on Facebook&quot; data-tippy=&quot;&quot; data-v-699851c4=&quot;&quot; href=&quot;http://www.facebook.com/sharer.php?u=https%3A%2F%2Fviblo.asia%2Fp%2Fgoogle-apps-script-nut-chuc-nang-thuc-hien-mot-function-trong-trang-tinh-RQqKLvDOl7z&amp;amp;title=%5BGoogle%20apps%20script%5D%20N%C3%BAt%20ch%E1%BB%A9c%20n%C4%83ng%20th%E1%BB%B1c%20hi%E1%BB%87n%20m%E1%BB%99t%20function%20trong%20trang%20t%C3%ADnh&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: inherit; text-decoration: none;&quot; target=&quot;_blank&quot; tooltip-placement=&quot;bottom&quot;&gt;&lt;i aria-hidden=&quot;true&quot; class=&quot;fa fa-facebook&quot; data-v-699851c4=&quot;&quot; style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; display: inline-block; font-family: FontAwesome; font-size: inherit; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: 1; text-rendering: auto;&quot;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;md-contents article-content__body my-2 flex-fill&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #292b2c; flex: 1 1 auto !important; font-family: &amp;quot;Open Sans&amp;quot;, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 1.75; margin-bottom: 1.5rem !important; margin-top: 1.5rem !important; orphans: 2; overflow: hidden; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Nếu các bạn đã từng quen làm việc với Excel, có thể các bạn đã từng sử dụng chức năng &quot;Thêm một button trong trang tính, khi click vào button thì thực hiện chạy một Macro hoặc một hàm VBA&quot;. Đây làm một tính năng rất hay của Excel.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;post-header&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, San-Serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h1 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #0000cc; font-family: Arial, San-Serif; font-size: 24px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: bold; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: capitalize; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;a href=&quot;https://khoinghiepinternet.blogspot.com/2019/03/16-thu-thuat-google-sheet-can-biet.html&quot; target=&quot;_blank&quot;&gt;16 Thủ Thuật Google Sheet Cần Biết&lt;/a&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;h1 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;color: #0000cc; font-family: Arial, San-Serif; font-size: 24px; line-height: normal; margin: 0px; padding: 0px; text-transform: capitalize;&quot;&gt;
&lt;a href=&quot;https://khoinghiepinternet.blogspot.com/2019/03/cach-tao-menu-chuc-nang-va-chay-macros.html&quot; target=&quot;_blank&quot;&gt;Cách Tạo Menu Chức Năng Và Chạy Macros Trên Google Sheets&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;post-header&quot; style=&quot;color: #333333; font-family: Arial, San-Serif; font-size: 15px; margin: 0px; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Thật may là Trang tính google cũng cung cấp cho chúng ta một tính năng tương tự.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Nếu bạn là người bắt đầu với&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Google App Script(GAS)&lt;/strong&gt;, hãy tìm đọc những bài viết trước của tôi trên Viblo.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Trong bài viết này, mình sẽ trình bày cách thêm các&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;nút&lt;/strong&gt;&amp;nbsp;chức năng vào trang tính, chức năng này sẽ là các hàm được viết bởi GAS. Ứng dụng ngay với một vài hàm chức năng đơn giản.&lt;/div&gt;
&lt;h1 id=&quot;_tao-nut-chuc-nang-cho-trang-tinh-0&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.95rem; font-weight: 700; line-height: 1.2; margin: 1.5em 0px 0.6em;&quot;&gt;
Tạo nút chức năng cho trang tính&lt;/h1&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 0.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Thực sự thì việc tạo một nút chức năng dễ dàng hơn nhiều so với việc chúng ta thêm các&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Custom UI menu&lt;/strong&gt;&amp;nbsp;như ở các bài viết trước mình hướng dẫn.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Việc thêm một nút chức năng sẽ gồm 3 bước:&lt;/div&gt;
&lt;h2 id=&quot;_1-chen-button-vao-trang-tinh-1&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.75rem; font-weight: 700; line-height: 1.2; margin: 1.5em 0px 0.6em;&quot;&gt;
1. Chèn button vào trang tính&lt;/h2&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 0.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Bạn phải thêm một đối tượng &quot;ảnh&quot; có thể click được - coi như một button vào trang tính.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Có 2 cách để thêm một nút trong trang tính:&lt;/div&gt;
&lt;ul style=&quot;box-sizing: border-box; margin-bottom: 0px; margin-top: 1em;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin-bottom: 0.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;Chèn một ảnh(Image)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin-bottom: 0.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;Tự vẽ một ảnh(Drawing)&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
(Trong bài viết này mình sẽ sử dụng cách&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border-radius: 2px; box-sizing: border-box; color: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 16px; padding: 3px 5px; word-break: break-word;&quot;&gt;Chèn vào một ảnh&lt;/code&gt;. Mình sẽ lấy ảnh con Pikachu làm ví dụ, hy vọng mọi người sẽ thích (len)).&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Trên menu top của Trang tính chọn&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Insert &amp;gt; Image&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Insert &amp;gt; Drawing&lt;/strong&gt;.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;medium-zoom-image&quot; data-zoom-target=&quot;https://images.viblo.asia/1600/9c2174dd-a18d-48db-b6d0-f3fb263d7f58.png&quot; src=&quot;https://images.viblo.asia/9c2174dd-a18d-48db-b6d0-f3fb263d7f58.png&quot; srcset=&quot;https://images.viblo.asia/retina/9c2174dd-a18d-48db-b6d0-f3fb263d7f58.png 2x&quot; style=&quot;border-style: none; box-sizing: border-box; cursor: pointer; display: block; margin: 1.5em auto; max-width: 100%; text-align: center; transition: transform 0.3s ease 0s; vertical-align: baseline; z-index: 1050 !important;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Có rất nhiều cách để nhúng một ảnh vào trang tính, bạn có thể tải ảnh lên, thêm từ URL,... thậm chí là tìm kiếm luôn bằng công cụ tìm kiếm.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;medium-zoom-image&quot; data-zoom-target=&quot;https://images.viblo.asia/1600/36173748-4cfa-43b2-9d4f-10065ec79240.png&quot; src=&quot;https://images.viblo.asia/36173748-4cfa-43b2-9d4f-10065ec79240.png&quot; srcset=&quot;https://images.viblo.asia/retina/36173748-4cfa-43b2-9d4f-10065ec79240.png 2x&quot; style=&quot;border-style: none; box-sizing: border-box; cursor: pointer; display: block; margin: 1.5em auto; max-width: 100%; text-align: center; transition: transform 0.3s ease 0s; vertical-align: baseline; z-index: 1050 !important;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Việc tạo một Button bằng cách tự vẽ (Drawing) cũng rất đơn giản. Chỉ cần tạo ra hình dáng button mà bạn muốn sau đó thì nhấn&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Save &amp;amp; Close&lt;/strong&gt;&amp;nbsp;để sử dụng hình vẽ đó. Lợi ích của việc bạn tự vẽ button bằng tay là bạn có thể viết mô tả ngắn ngọn chức năng mà button sẽ thực hiện vào ngay chính button.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Xong bước trên chúng ta đã có button ở trên trang tính. Tiếp theo chúng ta sẽ viết function mà button đó sẽ gọi tới khi được click.&lt;/div&gt;
&lt;h2 id=&quot;_2-tao-gas-function-2&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.75rem; font-weight: 700; line-height: 1.2; margin: 1.5em 0px 0.6em;&quot;&gt;
2. Tạo GAS function&lt;/h2&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 0.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Để làm ví dụ, chúng ta sẽ làm đơn giản thôi. Chúng ta sẽ viết một function với tên hàm là&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border-radius: 2px; box-sizing: border-box; color: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 16px; padding: 3px 5px; word-break: break-word;&quot;&gt;chooseYou&lt;/code&gt;, hàm chỉ đơn giản là hiển thị một pop-up với thông điệp&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border-radius: 2px; box-sizing: border-box; color: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 16px; padding: 3px 5px; word-break: break-word;&quot;&gt;&quot;I Choose You!&quot;&lt;/code&gt;. Chúng ta sẽ nói tới những hàm có chức năng thú vị hơn ở phần dưới của bài viết.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Nội dung file&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border-radius: 2px; box-sizing: border-box; color: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 16px; padding: 3px 5px; word-break: break-word;&quot;&gt;Code.gs&lt;/code&gt;&lt;/div&gt;
&lt;pre class=&quot;language-javascript&quot; data-filename=&quot;&quot; style=&quot;background-color: #f1f2f3; border-radius: 3px; border: 1px solid rgb(229, 229, 229); box-sizing: border-box; color: #24292e; direction: ltr; display: block; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 15px; hyphens: none; line-height: 1.45; margin: 1em 0px; overflow: auto; padding: 1em; tab-size: 4; text-align: left; white-space: pre; word-break: normal; word-spacing: normal;&quot;&gt;&lt;code class=&quot;language-javascript&quot; style=&quot;box-sizing: border-box; color: #24292e; direction: ltr; display: block; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 15px; hyphens: none; line-height: 1.45; tab-size: 4; text-align: left; white-space: pre; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;chooseYou&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;{&lt;/span&gt;
  Browser&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;msgBox&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #032f62;&quot;&gt;&quot;I Choose You!&quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Khá đơn giản phải khống, chúng ta lưu nó lại.&lt;/div&gt;
&lt;h2 id=&quot;_3-gan-chooseyou-cho-button-3&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.75rem; font-weight: 700; line-height: 1.2; margin: 1.5em 0px 0.6em;&quot;&gt;
3. Gán&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border-radius: 2px; box-sizing: border-box; color: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 1em; padding: 3px 5px; word-break: break-word;&quot;&gt;chooseYou&lt;/code&gt;&amp;nbsp;cho button&lt;/h2&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 0.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Chọn button - ảnh (Right-click), bạn sẽ thấy ở phái trên bên phải sẽ có một menu dropdown đơn giản.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Nhấn chọn&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Assign script…&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;medium-zoom-image&quot; data-zoom-target=&quot;https://images.viblo.asia/1600/1c7e4155-e183-4d9f-b1f8-5636933fd078.png&quot; src=&quot;https://images.viblo.asia/1c7e4155-e183-4d9f-b1f8-5636933fd078.png&quot; srcset=&quot;https://images.viblo.asia/retina/1c7e4155-e183-4d9f-b1f8-5636933fd078.png 2x&quot; style=&quot;border-style: none; box-sizing: border-box; cursor: pointer; display: block; margin: 1.5em auto; max-width: 100%; text-align: center; transition: transform 0.3s ease 0s; vertical-align: baseline; z-index: 1050 !important;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Sẽ có một pop-up hỏi bạn&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border-radius: 2px; box-sizing: border-box; color: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 16px; padding: 3px 5px; word-break: break-word;&quot;&gt;What script do you want to assign?&lt;/code&gt;&amp;nbsp;hãy điền tên function mà bạn muốn sử dụng. Trong trường hợp này là&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border-radius: 2px; box-sizing: border-box; color: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 16px; padding: 3px 5px; word-break: break-word;&quot;&gt;chooseYou&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;medium-zoom-image&quot; data-zoom-target=&quot;https://images.viblo.asia/1600/c2bf0a6e-ea63-428b-84fb-516ed8862bd3.png&quot; src=&quot;https://images.viblo.asia/c2bf0a6e-ea63-428b-84fb-516ed8862bd3.png&quot; srcset=&quot;https://images.viblo.asia/retina/c2bf0a6e-ea63-428b-84fb-516ed8862bd3.png 2x&quot; style=&quot;border-style: none; box-sizing: border-box; cursor: pointer; display: block; margin: 1.5em auto; max-width: 100%; text-align: center; transition: transform 0.3s ease 0s; vertical-align: baseline; z-index: 1050 !important;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Khi bạn click vào ảnh sẽ có một message box hiển thị thông báo&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border-radius: 2px; box-sizing: border-box; color: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 16px; padding: 3px 5px; word-break: break-word;&quot;&gt;I Choose You!&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;medium-zoom-image&quot; data-zoom-target=&quot;https://images.viblo.asia/1600/207c8da9-6792-4d4d-a178-e631849f9a4d.png&quot; src=&quot;https://images.viblo.asia/207c8da9-6792-4d4d-a178-e631849f9a4d.png&quot; srcset=&quot;https://images.viblo.asia/retina/207c8da9-6792-4d4d-a178-e631849f9a4d.png 2x&quot; style=&quot;border-style: none; box-sizing: border-box; cursor: pointer; display: block; margin: 1.5em auto; max-width: 100%; text-align: center; transition: transform 0.3s ease 0s; vertical-align: baseline; z-index: 1050 !important;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Nếu bạn muốn di chuyện button của bạn&lt;/strong&gt;, chuột phải vào button, button sẽ chuyển sang trạng thái &quot;được chọn&quot;, bạn có thể kéo thả button tới nơi bạn muốn.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Đặt button trong một&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border-radius: 2px; box-sizing: border-box; color: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 16px; padding: 3px 5px; word-break: break-word;&quot;&gt;frozen row&lt;/code&gt;&amp;nbsp;cũng là một ý tưởng hay khi bạn có một Trang tính lớn.&lt;/div&gt;
&lt;h2 id=&quot;_mot-so-ham-huu-dung-cho-button-4&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.75rem; font-weight: 700; line-height: 1.2; margin: 1.5em 0px 0.6em;&quot;&gt;
Một số hàm hữu dụng cho button&lt;/h2&gt;
&lt;ul style=&quot;box-sizing: border-box; margin-bottom: 0px; margin-top: 0.5em;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin-bottom: 0.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Lấy ngày và giờ hiện tại&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Nếu bạn sử dụng Trang tính để thực hiện các công việc liên quan tới tracking thời gian, ví dụ bạn phải biết chính xác thời gian mà bạn đã bắt đầu và kết thúc của một task. Trong trường hợp này, bạn có thể tạo một button để thực thi một hàm, hàm này sẽ đặt giá trị cho cell đang chọn là ngày giờ hiện tại.&lt;/div&gt;
&lt;pre class=&quot;language-javascript&quot; data-filename=&quot;&quot; style=&quot;background-color: #f1f2f3; border-radius: 3px; border: 1px solid rgb(229, 229, 229); box-sizing: border-box; color: #24292e; direction: ltr; display: block; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 15px; hyphens: none; line-height: 1.45; margin: 1em 0px; overflow: auto; padding: 1em; tab-size: 4; text-align: left; white-space: pre; word-break: normal; word-spacing: normal;&quot;&gt;&lt;code class=&quot;language-javascript&quot; style=&quot;box-sizing: border-box; color: #24292e; direction: ltr; display: block; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 15px; hyphens: none; line-height: 1.45; tab-size: 4; text-align: left; white-space: pre; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;setTimestamp&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;{&lt;/span&gt; 
  &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;var&lt;/span&gt; activeRange &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;=&lt;/span&gt; SpreadsheetApp&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;getActiveRange&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;var&lt;/span&gt; d &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;token class-name&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;var&lt;/span&gt; currentTime &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;=&lt;/span&gt; d&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;toLocaleTimeString&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;token comment&quot; style=&quot;box-sizing: border-box; color: #6a737d;&quot;&gt;// eg. 10:54:56 AM ICT&lt;/span&gt;
  &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;var&lt;/span&gt; currentDate &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;=&lt;/span&gt; d&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;toDateString&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;token comment&quot; style=&quot;box-sizing: border-box; color: #6a737d;&quot;&gt;// eg. Sun Sep 16 2018&lt;/span&gt;
  activeRange&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;setValue&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;currentDate &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #032f62;&quot;&gt;&#39; &#39;&lt;/span&gt; &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;+&lt;/span&gt; currentTime&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin-bottom: 0.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Gửi email tới người được chọn&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Việc sử dụng một button để thực hiện một hàm là cách rất thuận tiện nếu bạn muốn các giá trị trên trang tính là tham số của hàm. Đoạn code dưới đây cho phép bạn gửi một email với nội dung như trong những dữ liệu được chọn (active) trên trang tính, bao gồm email địa chỉ nhận, tiêu đề và nội dung.&lt;/div&gt;
&lt;pre class=&quot;language-javascript&quot; data-filename=&quot;&quot; style=&quot;background-color: #f1f2f3; border-radius: 3px; border: 1px solid rgb(229, 229, 229); box-sizing: border-box; color: #24292e; direction: ltr; display: block; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 15px; hyphens: none; line-height: 1.45; margin: 1em 0px; overflow: auto; padding: 1em; tab-size: 4; text-align: left; white-space: pre; word-break: normal; word-spacing: normal;&quot;&gt;&lt;code class=&quot;language-javascript&quot; style=&quot;box-sizing: border-box; color: #24292e; direction: ltr; display: block; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 15px; hyphens: none; line-height: 1.45; tab-size: 4; text-align: left; white-space: pre; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;sendEmail&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;var&lt;/span&gt; activeRange &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;=&lt;/span&gt; SpreadsheetApp&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;getActiveSheet&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;getActiveRange&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt;
  &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;var&lt;/span&gt; params &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #d73a49;&quot;&gt;=&lt;/span&gt; activeRange&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;getValues&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token number&quot; style=&quot;box-sizing: border-box; color: #005cc5;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;token comment&quot; style=&quot;box-sizing: border-box; color: #6a737d;&quot;&gt;// TODO: Valid sendEmail params&lt;/span&gt;
  GmailApp&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; color: #6f42c1;&quot;&gt;sendEmail&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;params&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token number&quot; style=&quot;box-sizing: border-box; color: #005cc5;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;,&lt;/span&gt; params&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token number&quot; style=&quot;box-sizing: border-box; color: #005cc5;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;,&lt;/span&gt; params&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token number&quot; style=&quot;box-sizing: border-box; color: #005cc5;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;medium-zoom-image&quot; data-zoom-target=&quot;https://images.viblo.asia/1600/6c57028a-17d7-48d8-9051-76d42f9297e4.png&quot; src=&quot;https://images.viblo.asia/6c57028a-17d7-48d8-9051-76d42f9297e4.png&quot; srcset=&quot;https://images.viblo.asia/retina/6c57028a-17d7-48d8-9051-76d42f9297e4.png 2x&quot; style=&quot;border-style: none; box-sizing: border-box; cursor: pointer; display: block; margin: 1.5em auto; max-width: 100%; text-align: center; transition: transform 0.3s ease 0s; vertical-align: baseline; z-index: 1050 !important;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;medium-zoom-image&quot; data-zoom-target=&quot;https://images.viblo.asia/1600/9cf20612-3e15-479d-bf6b-8ac1bdacb555.png&quot; src=&quot;https://images.viblo.asia/9cf20612-3e15-479d-bf6b-8ac1bdacb555.png&quot; srcset=&quot;https://images.viblo.asia/retina/9cf20612-3e15-479d-bf6b-8ac1bdacb555.png 2x&quot; style=&quot;border-style: none; box-sizing: border-box; cursor: pointer; display: block; margin: 1.5em auto; max-width: 100%; text-align: center; transition: transform 0.3s ease 0s; vertical-align: baseline; z-index: 1050 !important;&quot; /&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;_tong-ket-5&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.95rem; font-weight: 700; line-height: 1.2; margin: 1.5em 0px 0.6em;&quot;&gt;
Tổng kết&lt;/h1&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 0.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Thật không may là chúng ta không thể chèn một button vào một ô (cell) của Trang tính. Button được chèn vào trang tính luôn &quot;trôi&quot; trên bề mặt trang tính. Nhưng như tôi đã viết ở phía trên, chúng ta có thể kéo thả button vào khu vực&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border-radius: 2px; box-sizing: border-box; color: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 16px; padding: 3px 5px; word-break: break-word;&quot;&gt;freeze row&lt;/code&gt;&amp;nbsp;để cố định vị trí của nó.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #1b1b1b; font-size: 1em; font-weight: 400; letter-spacing: -0.003em; margin-bottom: 0px; margin-top: 1.5em; overflow-wrap: break-word; word-break: break-word;&quot;&gt;
Tôi hy vọng bài viết này sẽ giúp các bạn hiểu cách sử dụng các nút kết hợp với các hàm GAS, và có thêm các ý tưởng để xây dựng những ứng dụng riêng cho mình.&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2019/03/google-apps-script-nut-chuc-nang-thuc.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-7921507724639709983</guid><pubDate>Thu, 28 Feb 2019 17:21:00 +0000</pubDate><atom:updated>2019-03-01T00:25:01.613+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">word-excel</category><title>16 thủ thuật Google Sheet cần biết</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;post-single-content box mark-links entry-content&quot;&gt;
&lt;div class=&quot;toc_transparent no_bullets&quot; id=&quot;toc_container&quot;&gt;
&lt;div class=&quot;toc_title&quot;&gt;
Nội dung chính&lt;br /&gt;
&lt;div&gt;
&lt;h1 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #0000cc; font-family: Arial, San-Serif; font-size: 24px; line-height: normal; margin: 0px; padding: 0px; text-transform: capitalize;&quot;&gt;
&lt;a href=&quot;https://khoinghiepinternet.blogspot.com/2019/02/tao-from-gui-du-lieu-tu-website-len.html&quot; target=&quot;_blank&quot;&gt;Tạo From Gửi Dữ Liệu Từ Website Lên Google Sheet Không Dùng Google Forms&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;post-header&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, San-Serif; font-size: 15px; margin: 0px; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;ul class=&quot;toc_list&quot;&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Cac_phim_tat_trong_Google_Sheet&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;1&lt;/span&gt; Các phím tắt trong Google Sheet:&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Chen_anh_vao_o_bang_tinh_voi_URL&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;2&lt;/span&gt; Chèn ảnh vào ô bảng tính với URL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Su_dung_cau_lenh_SQL_de_loc_tong_hop_va_phan_tich_du_lieu_ngay_trong_bang_tinh_Google&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;3&lt;/span&gt; Sử dụng câu lệnh SQL để lọc, tổng hợp và phân tích dữ liệu ngay trong bảng tính Google:&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Lay_ra_phan_ngay_thang_nam_trong_1_thoi_diem&quot;&gt;&lt;span class=&quot;toc_number toc_depth_2&quot;&gt;3.1&lt;/span&gt; Lấy ra phần ngày tháng năm trong 1 thời điểm:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Tao_QR_code_ngay_trong_Google_Sheet&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;4&lt;/span&gt; Tạo QR code ngay trong Google Sheet:&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Tra_cuu_du_lieu_theo_dieu_kien_o_nhieu_cot&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;5&lt;/span&gt; Tra cứu dữ liệu theo điều kiện ở nhiều cột&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Su_dung_ham_loc_du_lieu_FILTER&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;6&lt;/span&gt; Sử dụng hàm lọc dữ liệu FILTER()&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Lay_gia_tri_duy_nhat_trong_cot_bang_ham_UNIQUE&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;7&lt;/span&gt; Lấy giá trị duy nhất trong cột bằng hàm UNIQUE&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Scrape_Web_voi_Google_Sheets&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;8&lt;/span&gt; Scrape Web với Google Sheets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Nhan_dang_ngon_ngu_voi_Google_Sheets&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;9&lt;/span&gt; Nhận dạng ngôn ngữ với Google Sheets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Dich_ngon_ngu_truc_tiep_trong_Google_Sheets&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;10&lt;/span&gt; Dịch ngôn ngữ trực tiếp trong Google Sheets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Kiem_tra_Emails_va_URLs_dung_chuan&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;11&lt;/span&gt; Kiểm tra Emails và URLs đúng chuẩn&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Du_doan_gia_tri_trong_tuong_lai_voi_ham_Growth&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;12&lt;/span&gt; Dự đoán giá trị trong tương lai với hàm Growth()&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Lam_cong_thuc_doc_de_hon_bang_cach_xuong_dong&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;13&lt;/span&gt; Làm công thức đọc dễ hơn bằng cách xuống dòng&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Them_nhung_ky_tu_dac_biet_vao_Google_Sheets&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;14&lt;/span&gt; Thêm những ký tự đặc biệt vào Google Sheets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=2967089978306358715#Lay_gia_tri_ngau_nhien_tu_1_danh_sach&quot;&gt;&lt;span class=&quot;toc_number toc_depth_1&quot;&gt;15&lt;/span&gt; Lấy giá trị ngẫu nhiên từ 1 danh sách&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;br /&gt;
Google Sheet là một công cụ miễn phí gần giống như Excel. Tuy Google Sheet có những điểm chưa bằng Excel nhưng có những điểm khác Google Sheet lại hơn hẳn Excel để xử lý một số công việc cụ thể.&lt;br /&gt;
Bài viết này sẽ giới thiệu với các bạn 16 thủ thuật của Google Sheet, với các thủ thuật này các bạn đã có thể thay đổi suy nghĩ của mình về Google Sheet và thậm chí chuyển sang sử dụng công cụ này.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;post-header&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, San-Serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h1 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #0000cc; font-family: Arial, San-Serif; font-size: 24px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: bold; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: capitalize; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;a href=&quot;https://khoinghiepinternet.blogspot.com/2019/03/google-apps-script-nut-chuc-nang-thuc.html&quot; target=&quot;_blank&quot;&gt;[Google Apps Script] Nút Chức Năng Thực Hiện Một Function Trong Trang Tính&lt;/a&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;h1 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #0000cc; font-family: Arial, San-Serif; font-size: 24px; line-height: normal; margin: 0px; padding: 0px; text-transform: capitalize;&quot;&gt;
Các phím tắt trong Google Sheet:&lt;/h1&gt;
&lt;/div&gt;
Các bạn có thể đã biết được 1 số phím tắt trong Excel, Google Sheet cũng hỗ trợ rất nhiều phím tắt đó. Hơn nữa, Google Sheet còn cho bạn 1 danh sách các phím tắt ngay trong phần mềm này. Các bạn chỉ cần bấm vào Menu Help rồi chọn Keyboard Shortcuts để gọi ra bảng tổng kết này&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/keyboard-shortcut-google-sheets.gif&quot;&gt;&lt;br /&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;code-block code-block-1&quot; style=&quot;clear: both; margin: 8px 0;&quot;&gt;
&lt;a href=&quot;http://bit.ly/2OFTuMf&quot; target=&quot;_blank&quot;&gt;
&lt;img src=&quot;https://blog.hocexcel.online/wp-content/uploads/2018/10/EX101_5.gif&quot; style=&quot;height: 90px;&quot; title=&quot;Khóa học Excel từ cơ bản đến chuyên gia dành cho người đi làm&quot; /&gt;
&lt;/a&gt;&lt;/div&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/keyboard-shortcut-google-sheets.gif&quot;&gt;&lt;img alt=&quot;keyboard-shortcut-google-sheets&quot; class=&quot;aligncenter size-full wp-image-6088&quot; height=&quot;1154&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/keyboard-shortcut-google-sheets.gif&quot; width=&quot;1140&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;blockquote&gt;
Chèn ảnh vào ô bảng tính với URL&lt;/blockquote&gt;
Google sheet cung cấp cho chúng ta 1 công cụ cực tốt để có thể chèn ảnh vào trong ô bảng tính, đó chính là &lt;strong&gt;hàm Image. &lt;/strong&gt;Cách sử dụng như sau:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;=image(“đường dẫn URL tới ảnh”,1) – ảnh tự thay đổi kích thước để vừa với ô&lt;/li&gt;
&lt;li&gt;=image(“đường dẫn URL tới ảnh”,2) – ảnh tự giãn ra để hiển thị đầy ô&lt;/li&gt;
&lt;li&gt;=image(“đường dẫn URL tới ảnh”,3) – ảnh giữ nguyên kích thước nguyên bản&lt;/li&gt;
&lt;li&gt;=image(“đường dẫn URL tới ảnh”,4) – ảnh với kích thước tự chọn&lt;/li&gt;
&lt;/ul&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/add-image-to-cell-google-sheets.png&quot;&gt;&lt;img alt=&quot;chen-anh-vao-bang-tinh&quot; class=&quot;aligncenter size-full wp-image-6089&quot; height=&quot;500&quot; sizes=&quot;(max-width: 843px) 100vw, 843px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/add-image-to-cell-google-sheets.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/add-image-to-cell-google-sheets.png 843w, https://blog.hocexcel.online/wp-content/uploads/2017/05/add-image-to-cell-google-sheets-300x178.png 300w, https://blog.hocexcel.online/wp-content/uploads/2017/05/add-image-to-cell-google-sheets-768x456.png 768w&quot; width=&quot;843&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Su_dung_cau_lenh_SQL_de_loc_tong_hop_va_phan_tich_du_lieu_ngay_trong_bang_tinh_Google&quot;&gt;Sử dụng câu lệnh SQL để lọc, tổng hợp và phân tích dữ liệu ngay trong bảng tính Google:&lt;/span&gt;&lt;/h2&gt;
Với hàm Query, Google Sheet được trang bị thêm sức mạnh của ngôn ngữ SQL, giúp chúng ta có thể viết ngôn ngữ tương tự như SQL ngay trong Google Sheet với sự trợ giúp của hàm Query mạnh mẽ. Các bạn tham khảo bài viết chi tiết tại đường link sau đây:&lt;br /&gt;
Hàm Query trong Google Sheet&lt;br /&gt;
&lt;h3&gt;
&lt;span id=&quot;Lay_ra_phan_ngay_thang_nam_trong_1_thoi_diem&quot;&gt;Lấy ra phần ngày tháng năm trong 1 thời điểm:&lt;/span&gt;&lt;/h3&gt;
Với hàm INT(), chúng ta có thể dễ dàng lấy ra giá trị ngày tháng năm trong 1 thời điểm ở trên bảng tính Google Sheet&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/tach-du-lieu-ngay-thang-nam.png&quot;&gt;&lt;img alt=&quot;tach-du-lieu-ngay-thang-nam&quot; class=&quot;aligncenter size-full wp-image-6090&quot; height=&quot;205&quot; sizes=&quot;(max-width: 464px) 100vw, 464px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/tach-du-lieu-ngay-thang-nam.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/tach-du-lieu-ngay-thang-nam.png 464w, https://blog.hocexcel.online/wp-content/uploads/2017/05/tach-du-lieu-ngay-thang-nam-300x133.png 300w&quot; width=&quot;464&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Xem thêm: Hàm SUMIFS – tính tổng theo tuần, tháng, năm&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Tao_QR_code_ngay_trong_Google_Sheet&quot;&gt;Tạo QR code ngay trong Google Sheet:&lt;/span&gt;&lt;/h2&gt;
QR code là mã vạch 2 chiều dùng để mã hoá 1 thông tin nào đó, có thể là số điện thoại, địa chỉ email hoặc URL hoặc 1 số thông tin khác. Chúng ta có thể thực hiện việc mã hoá này 1 cách rất đơn giản sử dụng hàm Image. Các bạn có thể dùng bất kì phần mềm quét mã QR nào và thử 2 mã QR sau đây sẽ nhận được kết quả là đường link của Học Excel Online. Còn đường link công thức trong ảnh minh hoạ là:&lt;br /&gt;
&lt;pre&gt;&lt;span class=&quot; default-formula-text-color&quot; dir=&quot;auto&quot;&gt;=&lt;/span&gt;&lt;span class=&quot; default-formula-text-color&quot; dir=&quot;auto&quot;&gt;image&lt;/span&gt;&lt;span class=&quot; default-formula-text-color&quot; dir=&quot;auto&quot;&gt;(&lt;/span&gt;&lt;span class=&quot; string &quot; dir=&quot;auto&quot;&gt;&quot;https://chart.googleapis.com/chart?cht=qr&amp;amp;chs=150x150&amp;amp;chl=&quot;&lt;/span&gt;&lt;span class=&quot; default-formula-text-color&quot; dir=&quot;auto&quot;&gt;&amp;amp;&lt;/span&gt; &lt;span dir=&quot;auto&quot;&gt;A2&lt;/span&gt; &lt;span class=&quot; default-formula-text-color&quot; dir=&quot;auto&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot; string &quot; dir=&quot;auto&quot;&gt;&quot;&amp;amp;choe=UTF-8&quot;&lt;/span&gt;&lt;span class=&quot; default-formula-text-color&quot; dir=&quot;auto&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;number&quot; dir=&quot;auto&quot;&gt;1&lt;/span&gt;&lt;span class=&quot; default-formula-text-color&quot; dir=&quot;auto&quot;&gt;)&lt;/span&gt;&lt;/pre&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/tao-qr-code-trong-google-sheet.png&quot;&gt;&lt;img alt=&quot;tao-qr-code-trong-google-sheet&quot; class=&quot;aligncenter size-large wp-image-6091&quot; height=&quot;578&quot; sizes=&quot;(max-width: 1024px) 100vw, 1024px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/tao-qr-code-trong-google-sheet-1024x578.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/tao-qr-code-trong-google-sheet-1024x578.png 1024w, https://blog.hocexcel.online/wp-content/uploads/2017/05/tao-qr-code-trong-google-sheet-300x169.png 300w, https://blog.hocexcel.online/wp-content/uploads/2017/05/tao-qr-code-trong-google-sheet-768x434.png 768w, https://blog.hocexcel.online/wp-content/uploads/2017/05/tao-qr-code-trong-google-sheet.png 1470w&quot; width=&quot;1024&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Tra_cuu_du_lieu_theo_dieu_kien_o_nhieu_cot&quot;&gt;Tra cứu dữ liệu theo điều kiện ở nhiều cột&lt;/span&gt;&lt;/h2&gt;
Các bạn có lẽ đã quá quen thuộc với các hàm tra cứu dựa trên 1 điều kiện là VLOOKUP, HLOOKUP và Index kết hợp với Match. Để mở rộng khả năng của các hàm tra cứu này, chúng ta sẽ sử dụng hàm mảng – ARRAYFORMULA trong ví dụ như sau&lt;br /&gt;
&lt;strong&gt;=ARRAYFORMULA(index($E$4:$E$8,match($G4&amp;amp;$H4&amp;amp;$I$3,$B$4:$B$8&amp;amp;$C$4:$C$8&amp;amp;$D$4:$D8,0)))&lt;/strong&gt;&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/vlookup-nhieu-cot.png&quot;&gt;&lt;img alt=&quot;vlookup-nhieu-cot&quot; class=&quot;aligncenter size-large wp-image-6093&quot; height=&quot;499&quot; sizes=&quot;(max-width: 1024px) 100vw, 1024px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/vlookup-nhieu-cot-1024x499.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/vlookup-nhieu-cot-1024x499.png 1024w, https://blog.hocexcel.online/wp-content/uploads/2017/05/vlookup-nhieu-cot-300x146.png 300w, https://blog.hocexcel.online/wp-content/uploads/2017/05/vlookup-nhieu-cot-768x374.png 768w, https://blog.hocexcel.online/wp-content/uploads/2017/05/vlookup-nhieu-cot.png 1051w&quot; width=&quot;1024&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Sau đây là diễn giải cho công thức này&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/huong-dan-vlookup-nhieu-cot.png&quot;&gt;&lt;img alt=&quot;huong-dan-vlookup-nhieu-cot&quot; class=&quot;aligncenter size-full wp-image-6094&quot; height=&quot;334&quot; sizes=&quot;(max-width: 921px) 100vw, 921px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/huong-dan-vlookup-nhieu-cot.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/huong-dan-vlookup-nhieu-cot.png 921w, https://blog.hocexcel.online/wp-content/uploads/2017/05/huong-dan-vlookup-nhieu-cot-300x109.png 300w, https://blog.hocexcel.online/wp-content/uploads/2017/05/huong-dan-vlookup-nhieu-cot-768x279.png 768w&quot; width=&quot;921&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Su_dung_ham_loc_du_lieu_FILTER&quot;&gt;Sử dụng hàm lọc dữ liệu FILTER()&lt;/span&gt;&lt;/h2&gt;
Nếu trong Excel, các bạn chỉ có thể lọc dữ liệu sử dụng các công cụ có sẵn và sử dụng advanced filter thì trong Google Sheet cho phép bạn làm điều này với hàm FILTER() trong ví dụ như sau:&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/ham-filter-trong-google-sheet.png&quot;&gt;&lt;img alt=&quot;ham-filter-trong-google-sheet&quot; class=&quot;aligncenter size-full wp-image-6095&quot; height=&quot;393&quot; sizes=&quot;(max-width: 888px) 100vw, 888px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/ham-filter-trong-google-sheet.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/ham-filter-trong-google-sheet.png 888w, https://blog.hocexcel.online/wp-content/uploads/2017/05/ham-filter-trong-google-sheet-300x133.png 300w, https://blog.hocexcel.online/wp-content/uploads/2017/05/ham-filter-trong-google-sheet-768x340.png 768w&quot; width=&quot;888&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Xem thêm: Sử dụng Advanced Filter để lọc dữ liệu trùng trong Excel&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Lay_gia_tri_duy_nhat_trong_cot_bang_ham_UNIQUE&quot;&gt;Lấy giá trị duy nhất trong cột bằng hàm UNIQUE&lt;/span&gt;&lt;/h2&gt;
Cách dùng hàm UNIQUE rất đơn giản, cho hàm UNIQUE 1 cột, hàm này sẽ trả về cho các bạn các giá trị không bị trùng lặp. Ở điểm này, hàm UNIQUE tương đương với chức năng Remove Duplicates của Excel.&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-ham-unique.gif&quot;&gt;&lt;br /&gt;
&lt;/a&gt;&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-ham-unique.gif&quot;&gt;&lt;img alt=&quot;google-sheets-ham-unique&quot; class=&quot;aligncenter size-full wp-image-6096&quot; height=&quot;772&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-ham-unique.gif&quot; width=&quot;1034&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Scrape_Web_voi_Google_Sheets&quot;&gt;Scrape Web với Google Sheets&lt;/span&gt;&lt;/h2&gt;
Việc lấy thông tin và dữ liệu từ 1 trang Web về Google Sheets hiện tại dễ dàng hơn bao giờ hết với sự giúp đỡ của nhóm hàm ImportHTML và hàm ImportXML&lt;br /&gt;
Công thức ví dụ của hàm ImportHTML:&lt;br /&gt;
&lt;strong&gt;=IMPORTHTML(“https://en.wikipedia.org/wiki/List_of_highest-grossing_films”,”table”,1)&lt;/strong&gt;&lt;br /&gt;
Kết quả như sau:&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-importhtml.png&quot;&gt;&lt;img alt=&quot;google-sheets-importhtml&quot; class=&quot;aligncenter size-full wp-image-6097&quot; height=&quot;697&quot; sizes=&quot;(max-width: 727px) 100vw, 727px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-importhtml.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-importhtml.png 727w, https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-importhtml-300x288.png 300w&quot; width=&quot;727&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Nhan_dang_ngon_ngu_voi_Google_Sheets&quot;&gt;Nhận dạng ngôn ngữ với Google Sheets&lt;/span&gt;&lt;/h2&gt;
Vì được tích hợp chặt chẽ với các dịch vụ của Google, nên Google Sheets cũng được hưởng lợi từ việc này, cụ thể trong trường hợp này là Google Sheets sẽ có khả năng nhận dạng ngôn ngữ&lt;br /&gt;
Một danh sách đầy đủ theo chuẩn ISO của các ngôn ngữ, các bạn xem &lt;a href=&quot;https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes&quot; target=&quot;_blank&quot;&gt;link này&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-nhan-dang-ngon-ngu.png&quot;&gt;&lt;img alt=&quot;google-sheets-nhan-dang-ngon-ngu&quot; class=&quot;aligncenter size-full wp-image-6098&quot; height=&quot;353&quot; sizes=&quot;(max-width: 459px) 100vw, 459px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-nhan-dang-ngon-ngu.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-nhan-dang-ngon-ngu.png 459w, https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-nhan-dang-ngon-ngu-300x231.png 300w&quot; width=&quot;459&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Dich_ngon_ngu_truc_tiep_trong_Google_Sheets&quot;&gt;Dịch ngôn ngữ trực tiếp trong Google Sheets&lt;/span&gt;&lt;/h2&gt;
Không những Google Sheets có thể nhận dạng được ngôn ngữ mà còn dịch được luôn cho các bạn&lt;br /&gt;
Hàm GOOGLETRANSLATE() sẽ nhận 3 tham số: Tham số đầu tiên là đoạn văn bạn muốn dịch, tham số thứ 2 là ngôn ngữ của đoạn văn bạn muốn dịch (các bạn có thể kết hợp với hàm nhận dạng ngôn ngữ phía trên cho tham số này), tham số thứ 3 là ngôn ngữ bạn muốn Google dịch cho bạn&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-translate-dich-ngon-ngu.png&quot;&gt;&lt;img alt=&quot;google-sheets-translate-dich-ngon-ngu&quot; class=&quot;aligncenter size-full wp-image-6099&quot; height=&quot;263&quot; sizes=&quot;(max-width: 462px) 100vw, 462px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-translate-dich-ngon-ngu.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-translate-dich-ngon-ngu.png 462w, https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-translate-dich-ngon-ngu-300x171.png 300w&quot; width=&quot;462&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Kiem_tra_Emails_va_URLs_dung_chuan&quot;&gt;Kiểm tra Emails và URLs đúng chuẩn&lt;/span&gt;&lt;/h2&gt;
Google Sheets có hàm để hỗ trợ bạn kiểm tra Emails và URLs nào hợp lệ&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-email-kiem-tra-tinh-hop-le-email.png&quot;&gt;&lt;img alt=&quot;google-sheets-email-kiem-tra-tinh-hop-le-email&quot; class=&quot;aligncenter size-full wp-image-6100&quot; height=&quot;207&quot; sizes=&quot;(max-width: 363px) 100vw, 363px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-email-kiem-tra-tinh-hop-le-email.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-email-kiem-tra-tinh-hop-le-email.png 363w, https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-email-kiem-tra-tinh-hop-le-email-300x171.png 300w&quot; width=&quot;363&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Để kiểm tra tính hợp lệ của URL, ta có thể dùng hàm isurl() như sau&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-kiem-tra-url-hop-le.png&quot;&gt;&lt;img alt=&quot;google-sheets-kiem-tra-url-hop-le&quot; class=&quot;aligncenter wp-image-6101 size-medium&quot; height=&quot;132&quot; sizes=&quot;(max-width: 300px) 100vw, 300px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-kiem-tra-url-hop-le-300x132.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-kiem-tra-url-hop-le-300x132.png 300w, https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-kiem-tra-url-hop-le.png 692w&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Du_doan_gia_tri_trong_tuong_lai_voi_ham_Growth&quot;&gt;Dự đoán giá trị trong tương lai với hàm Growth()&lt;/span&gt;&lt;/h2&gt;
Hàm này tương tự như hàm nội suy tuyến tính FORECAST.LINEAR mới có mặt trong Excel 2016&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-ham-noi-suy.png&quot;&gt;&lt;img alt=&quot;google-sheets-ham-noi-suy&quot; class=&quot;aligncenter size-full wp-image-6102&quot; height=&quot;334&quot; sizes=&quot;(max-width: 325px) 100vw, 325px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-ham-noi-suy.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-ham-noi-suy.png 325w, https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-ham-noi-suy-292x300.png 292w&quot; width=&quot;325&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Lam_cong_thuc_doc_de_hon_bang_cach_xuong_dong&quot;&gt;Làm công thức đọc dễ hơn bằng cách xuống dòng&lt;/span&gt;&lt;/h2&gt;
Công thức quá dài sẽ làm bạn rất khó theo dõi và dễ gây nhầm lẫn. Để xuống dòng trong ô công thức, các bạn hãy sử dụng tổ hợp phím ALT + ENTER để cho công thức dễ nhìn và dễ viết hơn&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Them_nhung_ky_tu_dac_biet_vao_Google_Sheets&quot;&gt;Thêm những ký tự đặc biệt vào Google Sheets&lt;/span&gt;&lt;/h2&gt;
Thêm ký tự đặc biệt vào Google Sheets với hàm CHAR(). 1 danh sách các ký tự các bạn có thể thử thêm vào ở &lt;a href=&quot;http://graphemica.com/unicode/characters/page/2&quot; target=&quot;_blank&quot;&gt;link này&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-ky-tu-dac-biet.png&quot;&gt;&lt;img alt=&quot;google-sheets-ky-tu-dac-biet&quot; class=&quot;aligncenter size-full wp-image-6103&quot; height=&quot;243&quot; sizes=&quot;(max-width: 312px) 100vw, 312px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-ky-tu-dac-biet.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-ky-tu-dac-biet.png 312w, https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-ky-tu-dac-biet-300x234.png 300w&quot; width=&quot;312&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span id=&quot;Lay_gia_tri_ngau_nhien_tu_1_danh_sach&quot;&gt;Lấy giá trị ngẫu nhiên từ 1 danh sách&lt;/span&gt;&lt;/h2&gt;
Để lấy giá trị ngẫu nhiên từ 1 danh sách, chúng ta có thể sử dụng công thức sau đây. Thật thú vị là chúng ta có thể sử dụng chính xác công thức này trong Excel luôn mà không phải chỉnh sửa gì&lt;br /&gt;
&lt;strong&gt;&lt;span class=&quot;s1&quot;&gt;=CHOOSE(RANDBETWEEN(1,5),”London”,”Berlin”,”Rome”,”Madrid”,”Lisbon”)&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;a href=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-choose-randbetween.png&quot;&gt;&lt;img alt=&quot;google-sheets-choose-randbetween&quot; class=&quot;aligncenter size-full wp-image-6104&quot; height=&quot;251&quot; sizes=&quot;(max-width: 607px) 100vw, 607px&quot; src=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-choose-randbetween.png&quot; srcset=&quot;https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-choose-randbetween.png 607w, https://blog.hocexcel.online/wp-content/uploads/2017/05/google-sheets-choose-randbetween-300x124.png 300w&quot; width=&quot;607&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Mình hi vọng những thủ thuật này sẽ nâng cao năng suất làm việc và làm cho công việc của bạn trở nên dễ dàng hơn. Hãy chia sẻ bài viết này với bạn bè và đồng nghiệp và nói với mình bạn nghĩ gì về những thủ thuật này ở trong phần comment ở dưới nhé.&lt;br /&gt;
&lt;div style=&quot;text-align: right;&quot;&gt;
Nguồn: học excel online&lt;/div&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2019/03/16-thu-thuat-google-sheet-can-biet.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-1186564016177271056</guid><pubDate>Sun, 17 Feb 2019 15:56:00 +0000</pubDate><atom:updated>2019-07-15T10:40:24.692+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">code</category><category domain="http://www.blogger.com/atom/ns#">word-excel</category><title>Tạo From gửi dữ liệu từ Website lên Google Sheet không dùng Google Forms</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #555555; font-family: Roboto; font-size: 24px; line-height: normal; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
Tạo một Sheet có cấu trúc sẵn&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 25px;&quot;&gt;
Trước tiên bạn cần tạo ra một Sheet và xây dựng cấu trúc cho nó, các cấu trúc này sẽ được dựa vào để thêm dữ liệu chính xác. Trong Sheet mới tạo bạn chú ý hai chỗ.&lt;/div&gt;
&lt;ul style=&quot;box-sizing: border-box; color: black; margin-bottom: 10px; margin-top: 0px;&quot;&gt;&lt;/ul&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; color: #2d2d2d; font-weight: 700;&quot;&gt;Google&amp;nbsp;Sheet hay Google bảng tính&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #2d2d2d;&quot;&gt;, là một trong những công cụ trực tuyến rất hữu ích và phổ biến. Tính nă&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #2d2d2d;&quot;&gt;ng của&amp;nbsp;&lt;/span&gt;Google Sheet&lt;span style=&quot;background-color: white; color: #2d2d2d;&quot;&gt;&amp;nbsp;khôn&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #2d2d2d;&quot;&gt;g chỉ là một công cụ giúp lưu trữ dữ liệu, tính toán, mà nó còn có khả năng tương tác cao, giúp nhiều người có thể đồng thời thao tác trên đó theo thời gian thực. Nếu bạn có một Form thu thập dữ liệu trên website chắc hẳn bạn cũng muốn dữ liệu đó được truyền đến Google Sheet. Trong bài viết này mình sẽ hướng dẫn bạn tạo ra một Form có thể truyền dữ liệu đến Google Sheet một cách tức thì mà không dùng đến Google Forms.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #2d2d2d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 10px; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color: #2d2d2d;&quot;&gt;Chỗ đầu tiên là các tên trường (chữ màu đỏ “&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Truong_so_1,&amp;nbsp; Truong_so_2,&lt;/span&gt;&lt;span style=&quot;color: #2d2d2d;&quot;&gt;…..”) nó sẽ là dấu hiệu để xác định cột dữ liệu. Bạn nên để trên không dấu, không khoảng cách là tốt nhất.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; color: #2d2d2d;&quot;&gt;Chỗ thứ hai là tên Sheet ở phía dưới. Thường khi dùng tiếng việt chỗ này là bảng tính, nhưng mình khuyên nên đổi thành một tên nào đó không dấu, không khoảng cách thì tốt hơn.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_3299&quot; style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 0.8em; font-style: italic; margin: 0px auto; max-width: 100%; padding: 8.53125px; text-align: center; width: 482px;&quot;&gt;
&lt;img alt=&quot;Một Sheet mẫu để test&quot; class=&quot;lazy wp-image-3299 size-full&quot; data-original=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_1.jpg&quot; height=&quot;659&quot; src=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_1.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;472&quot; /&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; style=&quot;box-sizing: border-box; margin-bottom: 25px;&quot;&gt;
Một Sheet mẫu để test&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Mẫu trên mình tạo có 3 trường và có một Sheet. Bây giờ mình sẽ chuyển bước tiếp theo là cấu hình Script cho Sheet này.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;noto serif&amp;quot;; font-size: 17px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 25px; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;noto serif&amp;quot;; font-size: 17px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 25px; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Google bảo mật rất tốt, và rất khó có thể xâm nhập dữ liệu của nó, nếu làm được thì chỉ có sử dụng chính API của nó cung cấp. Tuy nhiên với Google Sheet thì nó có cung cấp một công cụ lệnh (Script) khá hay, có thể tạo ra URL tiếp nhận Request, do đó có thể dễ dàng lấy dữ liệu từ nơi khác truyền đến và thêm vào Sheet. Bây giờ hãy làm theo các bước dưới để tiến hành tạo ra các lệnh này nhé.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #555555; font-family: Roboto; font-size: 24px; line-height: normal; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
Tạo và cấu hình Script trên Google Sheet&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;lazy size-full wp-image-3300 aligncenter&quot; data-original=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_2.jpg&quot; height=&quot;332&quot; src=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_2.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;679&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;lazy size-full wp-image-3301 aligncenter&quot; data-original=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_3.jpg&quot; height=&quot;384&quot; src=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_3.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;652&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Dán đoạn Script này vào tệp lệnh.&lt;/div&gt;
&lt;pre style=&quot;background-color: #e2ecf1; background-image: -webkit-repeating-linear-gradient(top, rgba(0, 0, 0, 0.016) 0px, rgba(0, 0, 0, 0.016) 26px, rgba(0, 0, 0, 0.043) 26px, rgba(0, 0, 0, 0.043) 50px); background-position: center top; background-repeat: repeat-x; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; line-height: 24px; margin-bottom: 10px; max-height: 500px; min-height: 30px; overflow-wrap: normal; overflow: auto; padding: 4.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;line-number&quot; style=&quot;border-right: 1px solid; box-sizing: border-box; color: black; display: block; float: left; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; font-stretch: normal; line-height: 14px; margin: -6px 1em 0px -1em; text-align: right;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;11&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;12&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;13&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;14&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;15&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;16&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;17&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;18&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;19&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;21&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;22&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;23&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;24&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;25&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;26&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;27&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;28&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;29&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;30&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;31&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;32&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;33&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;34&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;35&lt;/span&gt;&lt;/span&gt;function doGet(e){
   return handleResponse(e);
}
var SHEET_NAME = &quot;&lt;span style=&quot;box-sizing: border-box; color: red;&quot;&gt;Sheet1&lt;/span&gt;&quot;;
var SCRIPT_PROP = PropertiesService.getScriptProperties(); // new property service
function handleResponse(e) {
  var lock = LockService.getPublicLock();
  lock.waitLock(30000);
  try {
      var doc = SpreadsheetApp.openById(SCRIPT_PROP.getProperty(&quot;key&quot;));
      var sheet = doc.getSheetByName(SHEET_NAME);
      var headRow = e.parameter.header_row || 1;
      var headers = sheet.getRange(1, 1, 1, sheet.getLastColumn()).getValues()[0];
      var nextRow = sheet.getLastRow()+1;
      var row = []; 
      for (i in headers){
          if (headers[i] == &quot;Timestamp&quot;){
             row.push(new Date());
          } else {
             row.push(e.parameter[headers[i]]);
          }
      }
      sheet.getRange(nextRow, 1, 1, row.length).setValues([row]);
      return ContentService.createTextOutput(JSON.stringify({&quot;result&quot;:&quot;success&quot;, &quot;row&quot;: nextRow})).setMimeType(ContentService.MimeType.JSON);
  } catch(e){
     return ContentService.createTextOutput(JSON.stringify({&quot;result&quot;:&quot;error&quot;, &quot;error&quot;: e})).setMimeType(ContentService.MimeType.JSON);
 } finally {
     lock.releaseLock();
 }
}

function setup() {
   var doc = SpreadsheetApp.getActiveSpreadsheet();
   SCRIPT_PROP.setProperty(&quot;key&quot;, doc.getId());
}&lt;span class=&quot;cl&quot; style=&quot;box-sizing: border-box; clear: both; display: block;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Lưu ý là bạn phải đổi “&lt;span style=&quot;box-sizing: border-box; color: red;&quot;&gt;Sheet1&lt;/span&gt;” thành tên sheet cần lưu dữ liệu.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Sau khi xong bạn nhấn&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; overflow-wrap: break-word; padding: 2px 4px;&quot;&gt;Ctrl+S&lt;/code&gt;&amp;nbsp;để lưu dự án này lại, sau đó tiến hành chạy hàm&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; overflow-wrap: break-word; padding: 2px 4px;&quot;&gt;Setup()&lt;/code&gt;&amp;nbsp;để cài đặt lệnh.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;lazy size-full wp-image-3302 aligncenter&quot; data-original=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_4.jpg&quot; height=&quot;233&quot; src=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_4.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;552&quot; /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #e2ecf1; background-image: -webkit-repeating-linear-gradient(top, rgba(0, 0, 0, 0.016) 0px, rgba(0, 0, 0, 0.016) 26px, rgba(0, 0, 0, 0.043) 26px, rgba(0, 0, 0, 0.043) 50px); background-position: center top; background-repeat: repeat-x; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; line-height: 24px; margin-bottom: 10px; max-height: 500px; min-height: 30px; overflow-wrap: normal; overflow: auto; padding: 4.5px; word-break: break-all;&quot;&gt;}&lt;span class=&quot;cl&quot; style=&quot;box-sizing: border-box; clear: both; display: block;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Lưu ý là bạn phải đổi “&lt;span style=&quot;box-sizing: border-box; color: red;&quot;&gt;Sheet1&lt;/span&gt;” thành tên sheet cần lưu dữ liệu.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Sau khi xong bạn nhấn&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; overflow-wrap: break-word; padding: 2px 4px;&quot;&gt;Ctrl+S&lt;/code&gt;&amp;nbsp;để lưu dự án này lại, sau đó tiến hành chạy hàm&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15.3px; overflow-wrap: break-word; padding: 2px 4px;&quot;&gt;Setup()&lt;/code&gt;&amp;nbsp;để cài đặt lệnh.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;lazy size-full wp-image-3302 aligncenter&quot; data-original=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_4.jpg&quot; height=&quot;233&quot; src=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_4.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;552&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Sau khi chạy hàm Setup mà không có lỗi gì thì tiến hành “Xuất bản”.&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;lazy size-full wp-image-3303 aligncenter&quot; data-original=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_5.jpg&quot; height=&quot;231&quot; src=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_5.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;513&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Sau khi nhấn triển khai dưới dạng Ứng dụng web, bạn phải chọn một tài khoảng Google để thực thi, có thể bị báo kém an toàn nhưng bạn yên tâm chấp nhận, vì đây là ứng dụng của bạn. Những dữ liệu thêm vào Sheet sẽ sử dụng tư cách là tài khoản đó. Bạn cũng nên để bất kỳ ai, kể cả ân danh để có thể truy cập sử dụng Ajax và nhấn cập nhật. Lưu ý hãy lưu lại URL ứng dụng nhé.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;lazy size-full wp-image-3308 aligncenter&quot; data-original=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_10.jpg&quot; height=&quot;488&quot; src=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_10.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;459&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #555555; font-family: Roboto; font-size: 24px; line-height: normal; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
Xây dựng Form HTML và test thử&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; font-family: &amp;quot;Noto Serif&amp;quot;; font-size: 17px; margin-bottom: 25px;&quot;&gt;
Đã có URL ứng dụng, bây giờ mình sẽ tạo ra một FORM và gửi dữ liệu đến URL đó như sau:&lt;/div&gt;
&lt;pre style=&quot;background-color: #e2ecf1; background-image: -webkit-repeating-linear-gradient(top, rgba(0, 0, 0, 0.016) 0px, rgba(0, 0, 0, 0.016) 26px, rgba(0, 0, 0, 0.043) 26px, rgba(0, 0, 0, 0.043) 50px); background-position: center top; background-repeat: repeat-x; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; line-height: 24px; margin-bottom: 10px; max-height: 500px; min-height: 30px; overflow-wrap: normal; overflow: auto; padding: 4.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;line-number&quot; style=&quot;border-right: 1px solid; box-sizing: border-box; color: black; display: block; float: left; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; font-stretch: normal; line-height: 14px; margin: -6px 1em 0px -1em; text-align: right;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;6&lt;/span&gt;&lt;/span&gt;&amp;lt;form id=&quot;test-form&quot; method=&quot;GET&quot; action=&quot;&lt;span style=&quot;box-sizing: border-box; color: red;&quot;&gt;URL ứng dụng của bạn&lt;/span&gt;&quot;&amp;gt;
   &amp;lt;input type=&quot;text&quot; &lt;span style=&quot;box-sizing: border-box; color: red;&quot;&gt;name=&quot;Truong_so_1&quot;&lt;/span&gt; placeholder=&quot;Trường số 1&quot;/&amp;gt;
   &amp;lt;input type=&quot;text&quot; &lt;span style=&quot;box-sizing: border-box; color: red;&quot;&gt;name=&quot;Truong_so_2&quot;&lt;/span&gt; placeholder=&quot;Trường số 2&quot;/&amp;gt;
   &amp;lt;input type=&quot;text&quot; &lt;span style=&quot;box-sizing: border-box; color: red;&quot;&gt;name=&quot;Truong_so_3&quot;&lt;/span&gt; placeholder=&quot;Trường số 3&quot;/&amp;gt;
   &amp;lt;button type=&quot;submit&quot;id=&quot;submit-form&quot;&amp;gt;Gửi&amp;lt;/button&amp;gt;
&amp;lt;/form&amp;gt;&lt;span class=&quot;cl&quot; style=&quot;box-sizing: border-box; clear: both; display: block;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2d2d2d; margin-bottom: 25px;&quot;&gt;
&lt;div style=&quot;font-family: &amp;quot;noto serif&amp;quot;; font-size: 17px;&quot;&gt;
Với đoạn mã HTML trên, bạn lưu ý mỗi Input sẽ có một trương name. Trường này phải chứa tên trùng với tên trường trên sheet mà mình đã tạo ngay từ đầu.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;noto serif&amp;quot;; font-size: 17px;&quot;&gt;
&lt;img alt=&quot;Một kết quả dạng Json trả về thông báo thành công, hàng được thêm là hàng số 2&quot; class=&quot;lazy wp-image-3306 size-full&quot; data-original=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_8.jpg&quot; height=&quot;86&quot; src=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_8.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; font-size: 12.8px; font-style: italic; height: auto; margin: 0px auto; max-width: 100%; text-align: center; vertical-align: middle;&quot; width=&quot;281&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;wp-caption-text&quot; style=&quot;box-sizing: border-box; font-style: italic; margin-bottom: 25px; text-align: center;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Một kết quả dạng Json trả về thông báo thành công, hàng được thêm là hàng số 2&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div clear=&quot;all&quot; style=&quot;text-align: center;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Như vậy là mình đã làm xong việc thêm dữ liệu từ HTML form lên Google Sheet. Nếu bạn thử ở local không thành công thì nên thử trên một website nào đó nhé, ở trên mình thử trên một page của một Website WordPress. Để hoàn chỉnh hơn, người ta thường sử dụng Ajax để gửi dữ liệu và xử lý hiển thị khi thành công, mình sẽ hướng dẫn thêm ở phần dưới.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h3 style=&quot;box-sizing: border-box; color: #555555; line-height: normal; margin-bottom: 10px; margin-top: 20px; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;Nâng cấp Ajax cho Form&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 25px; text-align: center;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Thêm đoạn code sau dưới form HTML.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #e2ecf1; background-image: -webkit-repeating-linear-gradient(top, rgba(0, 0, 0, 0.016) 0px, rgba(0, 0, 0, 0.016) 26px, rgba(0, 0, 0, 0.043) 26px, rgba(0, 0, 0, 0.043) 50px); background-position: center top; background-repeat: repeat-x; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; font-style: normal; line-height: 24px; margin-bottom: 10px; max-height: 500px; min-height: 30px; overflow-wrap: normal; overflow: auto; padding: 4.5px; text-align: start; word-break: break-all;&quot;&gt;&lt;span class=&quot;line-number&quot; style=&quot;border-right: 1px solid; box-sizing: border-box; color: black; display: block; float: left; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; font-stretch: normal; line-height: 14px; margin: -6px 1em 0px -1em; text-align: right;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;11&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;12&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;13&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;14&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;15&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;16&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;17&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;18&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;19&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;21&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;22&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;23&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;24&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;25&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;26&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: darkmagenta; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;27&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: green; display: block; font-weight: bold; padding: 10.5px 0.5em 0px 1em;&quot;&gt;28&lt;/span&gt;&lt;/span&gt;&amp;lt;script src=&quot;http://code.jquery.com/jquery-1.12.0.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
 $(document).ready(function()
 { 
   var submit = $(&quot;button[type=&#39;submit&#39;]&quot;);
   submit.click(function()
               {
                  var data = $(&#39;form#test-form&#39;).serialize();
                  $.ajax({
                            type : &#39;GET&#39;, 
                            url : &#39;&lt;span style=&quot;box-sizing: border-box; color: red;&quot;&gt;URL API của bạn&lt;/span&gt;&#39;,
                            dataType:&#39;json&#39;,
                            crossDomain : true,
                            data : data,
                            success : function(data)
                          { 
                  if(data == &#39;false&#39;) 
                          {
                             alert(&#39;Thêm không thành công, bạn cũng có thể sử dụng để hiển thị Popup hoặc điều hướng&#39;);
                          }else{
                             alert(&#39;Đã thêm dữ liệu vào Form&#39;);
                          }
               }
    });
    return false;
   });
 });
&amp;lt;/script&amp;gt;&lt;span class=&quot;cl&quot; style=&quot;box-sizing: border-box; clear: both; display: block;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 17px; font-style: normal; margin-bottom: 25px; text-align: start;&quot;&gt;
Giờ test thử xem .&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_3309&quot; style=&quot;box-sizing: border-box; margin: 0px auto; max-width: 100%; padding: 8.53125px; width: 765px;&quot;&gt;
&lt;div style=&quot;font-size: 0.8em;&quot;&gt;
&lt;img alt=&quot;Kết quả thông báo thành công sau khi dùng Ajax&quot; class=&quot;lazy wp-image-3309 size-full&quot; data-original=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_11.jpg&quot; height=&quot;260&quot; src=&quot;https://tuandc.com/wp-content/uploads/2018/03/google-sheet-and-form_11.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;755&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;wp-caption-text&quot; style=&quot;box-sizing: border-box; margin-bottom: 25px;&quot;&gt;
Kết quả thông báo thành công sau khi dùng Ajax.&lt;br /&gt;
&lt;br /&gt;
Xem thêm:&lt;br /&gt;
&lt;h1 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #0000cc; font-family: Arial, San-Serif; line-height: normal; margin: 0px; padding: 0px; text-transform: capitalize;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://khoinghiepinternet.blogspot.com/2019/07/jquery-ajax-va-cach-su-dung-jquery-ajax.html&quot; target=&quot;_blank&quot;&gt;JQuery Ajax Và Cách Sử Dụng JQuery Ajax Để Tải Dữ Liệu Không Cần Tải Lại Trang&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2019/02/tao-from-gui-du-lieu-tu-website-len.html</link><author>noreply@blogger.com (Dr.Hoang Son)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-6635627047638780230</guid><pubDate>Sat, 20 Oct 2018 02:56:00 +0000</pubDate><atom:updated>2018-10-20T16:30:01.725+07:00</atom:updated><title>Tây Du Ký và Quá Trình tìm Chân Kinh</title><description>&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;Mở đầu Tây Du Ký, tác giả Ngô Thừa Ân viết: &quot;Dục trị tạo hóa hội nguyên công, tu khán Tây Du thích ách truyện&quot;, ý nói rằng: Muốn biết công của tạo hóa ra sao, muốn hiểu được ý nghĩa của đời người thế nào, vậy cần phải hiểu Tây Du Ký.&lt;br&gt;&lt;br&gt;Có người nói, nếu bạn có thể thật sự hiểu được Tây Du Ký, vậy thì bạn đã thấu hiểu hết thảy mọi khổ nạn trên thế gian, cũng là hiểu được ý nghĩa thật sự của cuộc đời này.&lt;br&gt;&lt;br&gt;Cũng có người cho rằng, Tây Du Ký xứng đáng ở vị trí đầu tiên trong tứ đại danh tác, hơn nữa đó còn là tác phẩm vĩ đại nhất trên thế gian.&lt;br&gt;&lt;br&gt;Bề mặt là câu chuyện trừ yêu diệt quái, nhưng thật ra nội hàm chân chính của Tây Du Ký là con đường hàng phục ma tính của một người tu hành. Thông qua câu chuyện thần thoại sang Tây Thiên thỉnh kinh, tác giả đã dẫn dắt chúng ta cách khắc phục nội tâm trên con đường nhân sinh, hàng phục tâm ma, cuối cùng lấy được Chân Kinh, thành tựu đời người.&lt;br&gt;&lt;br&gt;&lt;br&gt;Nội hàm chân chính của Tây Du Ký là con đường hàng phục ma tính của một người tu hành. (Ảnh dẫn theo &lt;a href=&quot;http://tindachieu.com&quot;&gt;tindachieu.com&lt;/a&gt;)&lt;br&gt;1. Ngũ vị nhất thể&lt;br&gt;&lt;br&gt;Trong Tây Du Ký, năm vị gồm bốn thầy trò Đường Tăng cùng với Bạch Long Mã, thật ra chỉ là một người, trong truyện cũng nhiều lần ám chỉ về điều này. Đoạn cuối cùng của tác phẩm khi viết đến &quot;Ngũ Thánh thành chân&quot; có một bài thơ nói rõ hơn ý tứ đó, trong đó bốn câu mở đầu là:&lt;br&gt;&lt;br&gt;&quot;Một thể chân như lạc xuống trần, &lt;br&gt;Hợp hòa bốn tướng lại tu thân.&lt;br&gt;Ngũ hành sắc tướng không rồi tịch, &lt;br&gt;Trăm quái hư danh thấy chẳng bàn&quot;.&lt;br&gt;&lt;br&gt;Trong đó, Tôn Ngộ Không là tượng trưng cho cái tâm, Đường Tăng là thân thể, Trư Bát Giới là tình cảm và dục vọng, Sa hòa thượng là bản tính, và Bạch Long Mã là ý chí của con người.&lt;br&gt;&lt;br&gt;Thực ra, tác giả đã nói rõ điều này trong những chương hồi đầu tiên của tác phẩm. Tôn Ngộ Không khi tầm sư học đạo trở thành đệ tử của Bồ Đề Tổ Sư trên núi Linh Đài Phương Thốn, động Tà Nguyệt Tam Tinh. Ở đây, Tà Nguyệt Tam Tinh (trăng khuyết và ba vì sao) chính là chữ &quot;Tâm&quot; (心). &quot;Tà Nguyệt&quot; chẳng phải chính là một nét móc đó sao? Ba ngôi sao chẳng phải chính là chỉ ba nét chấm đó sao? Vậy nên, Tôn Ngộ Không là thể hiện cho chữ Tâm của người tu hành.&lt;br&gt;&lt;br&gt;Người Trung Hoa có câu: &quot;Tâm viên ý mã&quot; (tâm con vượn, ý con ngựa), nghĩa là tâm trí con người ta thường xáo động và dễ mất kiểm soát. Cũng bởi vì tâm người luôn bay nhảy tự do như vậy, nên tư tưởng con người có thể qua lại giữa thiên đường và địa ngục, có thể dao động giữa thiện và ác. Vì vậy, về sau này Quan Âm Bồ Tát đã phải tặng cho Đường Tăng chiếc vòng kim cô và bài &quot;Khẩn cô nhi chú&quot; để khắc chế cái tâm này.&lt;br&gt;&lt;br&gt;Trong Kinh Lăng Nghiêm còn viết rằng: &quot;Tâm có 72 tướng&quot;, tương ứng với 72 phép biến hóa của Ngộ Không. Cái tâm của người đời rất giỏi biến hóa, chỉ trong chốc lát có thể biến ra các loại tâm thái khác nhau.&lt;br&gt;&lt;br&gt;Luyện tâm có thể khiến lòng người sáng sủa, trí huệ sáng suốt, vậy nên lò Bát Quái không thể thiêu chết mà trái lại còn khiến Tôn Ngộ Không luyện thành hỏa nhãn kim tinh. Mắt của Ngộ Không sáng tỏ là tượng trưng cho trí huệ sáng rực như vàng kim.&lt;br&gt;&lt;br&gt;Bên cạnh đó, chiếc gậy Như Ý và Cân Đẩu Vân của Ngộ Không cũng ẩn chứa những hàm nghĩa sâu sắc.&lt;br&gt;&lt;br&gt;&lt;br&gt;Ảnh minh họa. (Dẫn theo &lt;a href=&quot;http://tinhhoa.net&quot;&gt;tinhhoa.net&lt;/a&gt;)&lt;br&gt;Gậy Như Ý nặng 1 vạn 3 nghìn 5 trăm cân, giống với những điều được viết trong Hoàng Đế Bát Thập Nhất Nan Kinh: &quot;Cả ngày lẫn đêm, con người ta thở 1 vạn 3 nghìn 5 trăm nhịp&quot;. Vậy nên, gậy Như Ý là tượng trưng cho khí.&lt;br&gt;&lt;br&gt;Trên đời này, thứ gì có thể &quot;trên thì lên đến 33 tầng trời, dưới thì xuống tới 18 tầng địa ngục; lớn thì có thể thông thấu khắp trời, nhỏ thì như cái kim thêu&quot;? Chính là khí độ của con người.&lt;br&gt;&lt;br&gt;Cân Đẩu Vân của Tôn Ngộ Không lộn nhào một cái là đi được 10 vạn 8 nghìn dặm, nhưng lại không thể nhảy ra khỏi lòng bàn tay của Phật Như Lai. Đó là nói, con người dẫu làm gì thì cũng không thể thoát khỏi bàn tay của Phật Tổ.&lt;br&gt;&lt;br&gt;Cân Đẩu Vân của Ngộ Không có thể bay 10 vạn 8 nghìn dặm, vừa khéo lại là khoảng cách từ đông thổ Đại Đường đến Linh Sơn, điều này có ngụ ý gì? Đó chính là: Linh Sơn dù có xa hơn nữa thì cũng chỉ một niệm của tâm là có thể đến nơi. Thiện ác chỉ cách nhau một niệm, một niệm có thể thành Phật, nhưng một niệm cũng có thể biến thành tà ma.&lt;br&gt;&lt;br&gt;Tôn Ngộ Không bị giam dưới núi Ngũ Hành suốt 500 năm, tượng trưng cho cái tâm lên trời xuống đất của con người bị Kim – Mộc – Thủy – Hỏa – Thổ trong thế giới trần tục đè chặt.&lt;br&gt;&lt;br&gt;Núi Ngũ Hành cũng tượng trưng cho &quot;tham (tham lam), sân (giận dữ), si (ngu si), mạn (ngạo mạn), nghi (hoài nghi)&quot; trong Phật học. Phật Tổ nói rằng, 5 chữ ấy đã khái quát mọi tâm niệm thân hành của con người. Dù Ngộ Không có thần thông quảng đại đến đâu, vẫn không nhảy ra khỏi 5 chữ này. Tôn Ngộ Không khi đại náo Thiên Cung, cũng chính là bị ngũ độc này vây khốn.&lt;br&gt;&lt;br&gt;Về sau, khi thầy trò Đường Tăng đến Hoả Diệm Sơn, núi Ngũ Hành đã trở thành Lưỡng Giới Sơn (ngọn núi giữa hai ranh giới). Đi qua ngọn núi này, cái tâm từng xáo động không yên đó cuối cùng cũng có thể nhảy ra khỏi Tam Giới.&lt;br&gt;&lt;br&gt;Bạch Long Mã là ý chí lực. Ý chí của con người giống như ngựa hoang, chỉ khi xác định được mục tiêu tiến tới, mới có thể chuyên tâm chuyên ý mà lấy được Chân Kinh.&lt;br&gt;&lt;br&gt;Ngộ Không thu phục Tiểu Bạch Long, cũng chính là cái Tâm đã thu phục được Ý, đạt đến tâm ý hợp nhất. Chỉ cần tâm ý hợp nhất, chí hướng kiên định thì không có Tây Thiên nào là không đến được.&lt;br&gt;&lt;br&gt;Về sau, Ngộ Không và Đường Tăng lại thu phục được Bát Giới và Sa Tăng, nghĩa là &quot;thân, tâm, tình, tính, ý&quot; – đoàn thể hoàn mỹ nhất này đã hợp thành.&lt;br&gt;&lt;br&gt;Tóm lại, thầy trò Đường Tăng diệt trừ yêu quái trên suốt chặng đường sang Tây Thiên, thật ra chính là người tu hành đang trừ bỏ ma tính trên con đường nhân thế, do đó lấy kinh cũng chính là một quá trình dưỡng tính tu tâm. Linh Sơn thật sự, chính là ở trong tâm người.&lt;br&gt;&lt;br&gt;&lt;br&gt;Lấy kinh cũng chính là một quá trình dưỡng tính tu tâm. Linh Sơn thật sự, chính là ở trong tâm người. (Ảnh dẫn theo &lt;a href=&quot;http://chuansong.me&quot;&gt;chuansong.me&lt;/a&gt;)&lt;br&gt;2. Linh Sơn là ở trong Tâm người&lt;br&gt;&lt;br&gt;Trong hồi thứ 19, khi thầy trò Đường Tăng vừa mới bước trên con đường lấy kinh, Ô Sào thiền sư đã truyền thụ cho Đường Tăng một bộ &quot;Đa Tâm Kinh&quot;. Nhưng Đường Tăng vẫn không hiểu ý, cuối cùng mãi đến hồi 85, Ngộ Không phải nhắc nhở Đường Tăng rằng:&lt;br&gt;&lt;br&gt;&quot;Phật tại Linh Sơn mạc viễn cầu, &lt;br&gt;Linh Sơn chỉ tại nhữ tâm đầu. &lt;br&gt;Nhân nhân hữu cá Linh Sơn tháp, &lt;br&gt;Hảo hướng Linh Sơn tháp hạ tu.&quot;&lt;br&gt;&lt;br&gt;(Phật ở Linh Sơn lọ phải cầu, &lt;br&gt;Linh Sơn trước mắt lại tìm đâu! &lt;br&gt;Ai ai cũng có Linh Sơn tháp, &lt;br&gt;Tu ở Linh Sơn đạo rất mầu).&lt;br&gt;&lt;br&gt;Bởi cần phải tu Tâm để trừ dứt ma tính thì mới có thể đánh thức chính mình, mới có thể lĩnh ngộ được Phật Pháp. Do đó, đến lúc này Đường Tăng đã đáp lại rằng: &quot;Đồ đệ ạ, ta há không biết sao? Nếu theo bốn câu ấy, dù thiên kinh vạn quyển cũng chỉ là tu Tâm.&quot;&lt;br&gt;&lt;br&gt;3. Quá trình sang Tây Thiên chính là quá trình trừ bỏ ma tính&lt;br&gt;&lt;br&gt;Tôn Ngộ Không vừa mới phò giá Đường Tăng đã đánh chết 6 cường đạo. Trong nguyên tác, tên của 6 cường đạo này lần lượt là: Nhãn Khán Hỷ (Mắt thấy mừng), Nhĩ Thính Nộ (Tai nghe giận), Tỵ Khứu Ái (Mũi ngửi thích), Thiệt Thường Tư (Lưỡi nếm nghĩ), Thân Bổn Ưu (Thân vốn lo), Ý Kiến Dục (Ý thấy muốn) – đây chính là lục căn.&lt;br&gt;&lt;br&gt;Tôn Ngộ Không đánh chết lục căn, cho thấy lục căn phải thanh tịnh thì mới có thể lên đường lấy Chân Kinh.&lt;br&gt;&lt;br&gt;Trong suốt hành trình sang Tây Thiên, trước khi Ngộ Không đi xin cơm chay thường vẽ một vòng tròn lớn trên mặt đất, đây chính là giới hạn mà Tâm đặt cho con người, nhưng thân thể của con người (Đường Tăng) lại thường hay bị dục vọng (Trư Bát Giới) dẫn dụ mà xa rời giới hạn ấy.&lt;br&gt;&lt;br&gt;Vậy là bốn thầy trò dễ dàng rời khỏi giới hạn mà Ngộ Không đặt ra, và khi bước ra khỏi giới hạn ấy họ liền gặp phải các loại yêu ma.&lt;br&gt;&lt;br&gt;Ngộ Không mở đường dẫn dắt bốn thầy trò tiến về phía trước, trên đường lại không ngừng diệt trừ yêu quái, ý nói rằng Tâm đang hàng phục ma tính.&lt;br&gt;&lt;br&gt;Mỗi một yêu quái trên đường sang Tây Thiên đều có ngụ ý sâu xa. Hết thảy yêu quái đều là một ẩn dụ, thảy đều là huyễn hóa của ma tính. Mỗi một yêu quái là đại biểu cho Danh – Lợi – Tình nơi thế gian đang trói buộc con người, hết thảy đều xuất phát từ ma tính của bản thân một người.&lt;br&gt;&lt;br&gt;Ví dụ, Hắc Hùng Tinh xuất hiện trong hồi thứ 16 là do sân niệm của Ngộ Không xui khiến. Hắc Hùng Tinh nổi lửa thiêu hủy thiền viện Quan Âm, cũng chính là ma tính đang trở ngại người tu đắc chính quả.&lt;br&gt;&lt;br&gt;&lt;br&gt;Hắc Hùng Tinh xuất hiện trong hồi thứ 16 là do sân niệm của Ngộ Không xui khiến. (Ảnh dẫn theo &lt;a href=&quot;http://sohu.com&quot;&gt;sohu.com&lt;/a&gt;)&lt;br&gt;Ngưu Ma Vương cũng là do ma tính của Ngộ Không biến hóa. Ban đầu, Ngưu Ma Vương cùng Tôn Ngộ Không kết bái huynh đệ, lực lượng ngang nhau, vậy nên phát hỏa (nổi nóng) cũng chính là bản thân đang so tài với chính mình.&lt;br&gt;&lt;br&gt;Hồng Hài Nhi và Hỏa Diệm Sơn đều là ngọn lửa trong tâm. Nguyên nhân Hỏa Diệm Sơn hình thành là do năm xưa khi Tôn Ngộ Không chui ra từ lò Bát Quái, vì để trút cơn giận mà đá một miếng gạch chịu lửa xuống trần. Vì cái tâm không chế ước ngọn lửa của bản thân, nên cuối cùng lại đốt cháy chính mình.&lt;br&gt;&lt;br&gt;Hồng Hài Nhi tượng trưng cho ngọn lửa thù hận. Hồng Hài Nhi phóng Tam Muội Chân Hỏa thiêu cháy Ngộ Không là ngụ ý rằng, một người luôn sống trong thù hận, thì cuối cùng sẽ chỉ làm tổn thương cái tâm của mình.&lt;br&gt;&lt;br&gt;Hoàng Phong quái biết thổi Tam Muội Thần Phong, đây là đại biểu cho phong khí của xã hội, phong khí xã hội có thể khiến trái tim con người (Ngộ Không) mê mờ lạc mất phương hướng.&lt;br&gt;&lt;br&gt;Ba hình tượng biến hoá của Bạch Cốt Tinh lần lượt đại biểu cho Tình – Ái – Dục của một người. Ngộ Không đã đánh chết toàn bộ chúng, nói rõ rằng trên đường đời chúng ta nhất định phải khống chế vững tình, ái, dục của bản thân, chớ để nó trở thành chướng ngại tiến bước của chúng ta.&lt;br&gt;&lt;br&gt;Ngoài ra, Bạch Cốt Tinh (bộ xương trắng thành tinh) cũng tượng trưng cho thân xác phàm của con người. Thân thể có thể khơi dậy bản năng dục vọng, vậy nên Trư Bát Giới bắt đầu ly gián, khiến con người thất lạc mất nội tâm của mình, vì vậy Đường Tăng đã đuổi Ngộ Không đi.&lt;br&gt;&lt;br&gt;4. Yêu quái là tượng trưng cho các loại mê hoặc của thế gian&lt;br&gt;&lt;br&gt;Kim Giác và Ngân Giác&lt;br&gt;&lt;br&gt;Kim Giác và Ngân Giác vốn là 2 đồng tử coi lò luyện đan của Thái Thượng Lão Quân, trốn xuống trần rồi trở thành yêu quái tại núi Bình Đỉnh, động Liên Hoa. Khi thầy trò Đường Tăng đi ngang qua đây, Kim Giác và Ngân Giác đã dùng sợi dây thừng trói chặt Tôn Ngộ Không, sau lại dùng Tử Kim hồ lô nhốt lấy Tôn Ngộ Không.&lt;br&gt;&lt;br&gt;Ở đây, từ tên gọi có thể thấy Kim Giác đại vương và Ngân Giác đại vương là tượng trưng cho sức mê hoặc của kim tiền, bởi kim tiền có thể trói chặt, phong bế tâm con người, khó mà thoát ra được.&lt;br&gt;&lt;br&gt;Hoàng Mi Quái&lt;br&gt;&lt;br&gt;Hoàng Mi Lão Quái giả dạng Phật Tổ ở chùa Tiểu Lôi Âm, đã dùng não bạt vàng nhốt chặt Tôn Ngộ Không. Pháp bảo não bạt vàng này cũng tượng trưng cho tiền bạc, bởi tiền bạc có thể vây hãm cái tâm người ta.&lt;br&gt;&lt;br&gt;&lt;br&gt;Yêu quái Hoàng Mi Quái. (Ảnh dẫn theo &lt;a href=&quot;http://youtube.com&quot;&gt;youtube.com&lt;/a&gt;)&lt;br&gt;Yêu tinh nhện, rết, và bọ cạp&lt;br&gt;&lt;br&gt;Bảy con nhện tinh đại biểu cho thất tình lục dục của con người. Thất tình lục dục cũng giống như tấm lưới do nhện giăng lên, có thể trói chặt con người.&lt;br&gt;&lt;br&gt;Người đời bởi tư niệm sinh tình, bị tơ tình vây khốn. Trên thân của yêu tinh rết có nghìn con mắt, đó chính là tượng trưng cho các loại dục vọng vật chất mà mắt người thấy được.&lt;br&gt;&lt;br&gt;Bọ cạp tinh đại biểu cho mỹ sắc, mỹ sắc sẽ dẫn dụ người ta giống như con bọ cạp, vậy nên thầy trò Đường Tăng đều không địch nổi nó.&lt;br&gt;&lt;br&gt;Lục nhĩ mỹ hầu&lt;br&gt;&lt;br&gt;Mỹ hầu vương thật giả, một Tôn Ngộ Không chân tâm hướng Phật đã đánh bại được một Ngộ Không giả không thật lòng hướng Phật. Đây là hai loại ý chí, hai loại tư tưởng của bản thân trong một người đang tranh đấu với nhau. Đã sinh ta &quot;hai lòng&quot; thì cần phải trừ bỏ hai lòng này; chỉ cần trừ bỏ hai lòng, một lòng một ý, mới có thể đạt được thành công. Vậy nên Tôn Ngộ Không giả bị đánh chết, thầy trò mới có thể tiếp tục lên đường.&lt;br&gt;&lt;br&gt;Trong sách cũng nói, một nạn này là do ma tính của bốn thầy trò sinh ra: Cái tâm ngông cuồng của Tôn Ngộ Không, cái tâm mê muội không phân thật giả của Đường Tăng, cái tâm đố kỵ của Trư Bát Giới, Sa Tăng, cái tâm ngờ vực lẫn nhau giữa mấy huynh đệ thầy trò…&lt;br&gt;&lt;br&gt;Quốc trượng nước Tỳ Khưu&lt;br&gt;&lt;br&gt;Trong hồi thứ 79, quốc trượng của nước Tỳ Khưu vốn là yêu tinh biến thành. Vì để luyện thuốc trường sinh, yêu tinh đã bắt giữ một nghìn đứa trẻ để mổ bụng lấy tim, sau lại đòi lấy tim của Đường Tăng. Tôn Ngộ Không đã nhanh trí biến thành hình tượng của sư phụ, rồi lên điện diện kiến quốc trượng. Trong sách viết rằng:&lt;br&gt;&lt;br&gt;&quot;Đường Tăng giả cầm số tim máu chảy ròng ròng, bới từng quả cho các quan xem, thấy toàn là những quả tim đỏ, tim trắng, tim vàng, tim tham lam, tim danh lợi, tim đố kỵ, tim mưu mẹo, tim hiếu thắng, tim hãnh tiến, tim khinh mạn, tim sát hại, tim độc ác, tim sợ sệt, tim tà vọng, tim vô danh, tim mờ ám… toàn là các loại tim xấu xa, chẳng thấy có một quả tim đen nào&quot;.&lt;br&gt;&lt;br&gt;Tôn Ngộ Không biến thành Đường Tăng giả là ví rằng Đường Tăng và Ngộ Không lúc này đã hợp hai thành một; y mổ cái bụng của mình, rơi ra một đống trái tim, cũng tượng trưng cho &quot;đa tâm&quot;.&lt;br&gt;&lt;br&gt;Chúng ta thường nói &quot;trong lòng hươu chạy&quot;, người có &quot;hai lòng&quot; sẽ sinh ra tai họa, huống hồ là nhiều tâm như vậy. Chỉ khi thu phục yêu tinh này thì trong lòng mới không có hươu chạy loạn xạ nữa, &quot;đa tâm&quot; đã trở thành &quot;nhất tâm&quot;, một lòng một ý mới có thể thành công.&lt;br&gt;&lt;br&gt;&lt;br&gt;Quốc trượng của nước Tỳ Khưu vốn là yêu tinh biến thành. (Ảnh dẫn theo &lt;a href=&quot;http://phuocchau.org&quot;&gt;phuocchau.org&lt;/a&gt;)&lt;br&gt;Cửu Linh Nguyên Thánh&lt;br&gt;&lt;br&gt;Ba huynh đệ Ngộ Không thích làm thầy thiên hạ, ở Ngọc Hoa châu đã thu nhận ba vị hoàng tử của quốc vương làm đồ đệ, dạy cho họ võ công. Thích làm thầy thiên hạ, không khiêm tốn, bởi vậy đã chiêu mời sư tử tinh, vốn là cháu nuôi của Cửu Linh Nguyên Thánh.&lt;br&gt;&lt;br&gt;Cửu Linh Nguyên Thánh là một con sư tử 9 đầu, vốn là thú nuôi của Thái Ất Thiên Tôn ở cung Diệu Nham. Đây là một trong những yêu quái lợi hại nhất trên đường sang Tây Thiên, có thể dễ dàng bắt được Tôn Ngộ Không.&lt;br&gt;&lt;br&gt;Sư tử 9 đầu tượng trưng cho &quot;cửu tư&quot; (9 điều suy nghĩ). Khổng Tử nói: &quot;Bậc quân tử có chín điều suy nghĩ&quot;. Một người nếu như làm được &quot;chín điều suy nghĩ&quot; chính là có thể trở thành bậc Thánh, &quot;cửu tư thành Thánh&quot;, vậy nên mới có tên gọi là Cửu Linh Nguyên Thánh.&lt;br&gt;&lt;br&gt;5. Khắc phục ma tính của tự thân mới có thể thấy được Linh Sơn&lt;br&gt;&lt;br&gt;Cuối cùng, Tôn Ngộ Không (Tâm) được phong làm Đấu Chiến Thắng Phật — cho dù chúng ta bắt tay vào việc gì, chỉ cần có thể ước thúc nội tâm của tự thân thì mới đạt được thành công.&lt;br&gt;&lt;br&gt;Đường Tăng (Thân thể) được phong là Chiên Đàn Công Đức Phật — làm người cần phải thân tâm hợp nhất, mới có thể lấy được Chân Kinh.&lt;br&gt;&lt;br&gt;&lt;br&gt;Làm người cần phải thân tâm hợp nhất, mới có thể lấy được Chân Kinh. (Ảnh dẫn theo &lt;a href=&quot;http://diendan.gosu.vn&quot;&gt;diendan.gosu.vn&lt;/a&gt; )&lt;br&gt;Trư Bát Giới (Tình cảm dục vọng) được phong làm Tịnh Đàn Sứ Giả — dục vọng không trừ bỏ được, vậy nên cuối cùng chỉ được phong làm sứ giả.&lt;br&gt;&lt;br&gt;Sa hòa thượng (Bản tính) được phong làm Kim Thân La Hán — cũng là nói, bản tính trân quý giống như vàng ròng vậy.&lt;br&gt;&lt;br&gt;Bạch Long mã (Ý chí) được phong làm Thiên Long Bát Bộ Hộ Pháp — cần phải thời thời khắc khắc bảo vệ ý niệm của mình, vậy nên được phong làm Hộ pháp.&lt;br&gt;&lt;br&gt;Sau cùng Phật Tổ cho nhóm thầy trò kinh không chữ, chính là vì kinh không chữ mới là Chân Kinh.&lt;br&gt;&lt;br&gt;&quot;Kinh&quot; trong vô tự kinh, là ý chỉ những việc đã trải qua. Những việc trải qua trên suốt chặng đường này mới là &quot;Kinh&quot; chân chính, vượt xa những văn tự nơi thế gian con người. Một người, sau khi trải qua hết thảy mọi việc nơi thế gian, mới có thể giữ được chân tâm, dù chưa đến Tây Thiên thì trong lòng sớm đã thành Phật rồi.&lt;br&gt;&lt;br&gt;Nội hàm của Tây Du Ký vô cùng uyên thâm. Cùng là một người nhưng đọc vào những lúc khác nhau thì thể hội cũng khác nhau. Ví như khi đọc vào thời niên thiếu và khi đọc vào thời trai trẻ đều có những thể hội hoàn toàn khác nhau. Hơn 20 năm sau đọc lại, lại có thể hội mới.&lt;br&gt;&lt;br&gt;Một bộ thiên thư bác đại tinh thâm như thế, cả đời người dẫu dày công nghiên cứu cũng khó có thể hiểu cho tỏ tường. Vậy nên, có cả trăm ngàn người lần giở Tây Du Ký, thì những người thật sự đọc hiểu lại chẳng có mấy ai…&lt;br&gt;&lt;br&gt;Theo &lt;a href=&quot;http://bannedbook.org&quot;&gt;bannedbook.org&lt;/a&gt;&lt;br&gt;Quang Minh biên dịch&lt;/div&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2018/10/tay-du-ky-va-qua-trinh-tim-chan-kinh.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-3081178450070038215</guid><pubDate>Tue, 25 Sep 2018 15:56:00 +0000</pubDate><atom:updated>2018-09-25T22:56:58.692+07:00</atom:updated><title>ĐÀN ÔNG… mỗi quyết định là một lần ĐÁNH ĐỔI...</title><description>&lt;div dir=&quot;auto&quot;&gt;&lt;div dir=&quot;auto&quot;&gt;☕ {Cafe Sách Buổi Sáng}&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;ĐÀN ÔNG… mỗi quyết định là một lần ĐÁNH ĐỔI!&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Uống vài chén rượu với đối tác, là đánh đổi một bữa cơm bên gia đình, ờ thì món ngon đấy, rượu nồng đấy...nhưng từng câu nói đều phải uốn lưỡi 7 lần, đề phòng bị chuốc say lại bút sa gà chết, có vui vẻ gì đâu?&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Bỏ công việc lương 20 triệu để lập nghiệp với số nợ gấp mấy chục lần, là đánh đổi sự sung sướng nhàn nhã của bản thân...nghe oai đấy, nhưng hàng đêm thức trắng có ai biết, lúc làm ăn sa sút thì ai chịu rủi ro?&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Không theo sự sắp đặt của người khác mà quyết chí làm ăn...là đánh đổi sự kì vọng của những người xung quanh...&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Ừ thì tự tin đấy, bản lĩnh đấy, nhưng không được mọi người ủng hộ, bứt phá khỏi vùng an toàn lỡ không thành công thì còn mặt mũi nào quay về?&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Nhưng ngẫm lại, đàn ông không dám đánh đổi thì đâu thể làm nên việc lớn!&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Cùng 1 cơ hội có thể đến với tất cả mọi người, nhưng thành công chỉ chọn 1 người duy nhất: buông những gì người khác không dám buông, bỏ những gì người ta không dám bỏ!&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Để trưởng thành...đàn ông bắt buộc phải vấp ngã một vài lần: công việc, mối quan hệ, tình yêu...&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Hãy trang bị cho mình một tinh thần chiến binh, một ý chí sắt đá, để sẵn sàng đương đầu với tất cả những dày vò tới từ cuộc sống. Bởi kể cả bạn có muốn hay không, thì chắc chắn bạn vẫn sẽ gặp phải ít nhất một vài lần bị cuộc đời này &amp;quot;dập&amp;quot; cho tơi tả.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Chỉ khi đã đi qua hết những giai đoạn thăng trầm ấy, tổn thương về cả tinh thần lẫn thể xác sẽ tôi rèn nên một gã đàn ông thực thụ, một gã đàn ông bản lĩnh, không nề hà khó khăn thử thách.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Đừng sợ hãi trước thất bại, bởi thà thất bại một lần để rồi cứng cáp, còn hơn chưa từng biết tới mùi vị của nỗi đau.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Đời thì vốn lạ, dù họ chẳng cho ta đồng nào nhưng lúc nào cũng xỉa xói những quyết định trong đời ta, để rồi ganh tị khi ta thành công hay mỉa mai khi ta vấp ngã. Đời là vậy đó!&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Bởi thế, tốt nhất là nên bịt bớt một bên tai, che bớt một bên mắt... nghe những điều cần nghe, nhìn những điều cần thấy là đủ. Biết nhiều, nghe nhiều... chỉ thêm phiền não...&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Trên đời này không ai là hoàn hảo, nếu cứ mải mê chạy theo lời nói của đám đông... đến bao giờ chúng ta mới làm được những việc cho riêng mình.&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;- Sưu tầm -&lt;/div&gt;&lt;/div&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2018/09/an-ong-moi-quyet-inh-la-mot-lan-anh-oi.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-2656667680792119269</guid><pubDate>Sun, 09 Sep 2018 09:45:00 +0000</pubDate><atom:updated>2018-09-09T16:45:38.097+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">clone</category><category domain="http://www.blogger.com/atom/ns#">thu thuat</category><category domain="http://www.blogger.com/atom/ns#">wordpress</category><title>CHUYỂN HOST HOẶC ĐỔI DOMAIN TRONG WORDPRESS VỚI DUPLICATOR</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;Sử dụng Clone trong VPS/Dedicate mãi toàn bị lỗi, do không biết chỉnh .htaccess, làm loanh quanh mấy cách thì chung quy lại Duplicator là ổn nhất, nên mình lưu vào sau này đỡ phải lần mò. Cách này lâu rồi đã làm nhưng lúc cần toàn phải tìm lại trên google vì không nhớ. Giờ lưu lại cho chắc (Xin cảm ơn tác giả.)&lt;/i&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Việc chuyển host trong WordPress hoặc đổi tên miền của website đã không còn xa lạ gì nữa, chỉ việc backup toàn bộ dữ liệu từ host cũ sang host mới là được. Cách chuyển host cho WordPress thực ra cũng giống như việc bạn sao lưu và phục hồi dữ liệu vậy, chỉ khác là sao lưu ở host này nhưng phục hồi ở host khác.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Còn đối với việc đổi tên miền cho website thì ngoài việc trỏ tên miền về host thì bạn sẽ cần sửa đường dẫn trong database (table wp_options) thành domain mới.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Nhưng nếu bạn không muốn làm bằng thủ công việc chuyển host hay đổi tên miền cho website WordPress thì plugin miễn phí&amp;nbsp;&lt;a data-wpel-link=&quot;external&quot; href=&quot;https://wordpress.org/plugins/duplicator/&quot; rel=&quot;nofollow external noopener noreferrer&quot; style=&quot;box-sizing: border-box; color: #1e73be; cursor: pointer; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s;&quot; target=&quot;_blank&quot; title=&quot;Duplicator&quot;&gt;&lt;strong style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;Duplicator&lt;/strong&gt;&lt;/a&gt;&amp;nbsp;để làm hoàn toàn tự động&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 20px; line-height: 1.3em; margin: 0px 0px 17px; padding: 0px;&quot;&gt;
Vì sao Duplicator lại giúp chuyển host hoặc đổi tên miền nhanh?&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Plugin Duplicator hoạt động giống như một plugin sao lưu dữ liệu vậy, nó sẽ tiến hành sao lưu toàn bộ dữ liệu trên website bao gồm mã nguồn và cơ sở dữ liệu (database), sau đó sẽ nén toàn bộ vào một tập tin nén dạng .tar.gz.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Nhưng Duplicator có thêm một chức năng khác nữa đó là&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;tự động khôi phục bản sao lưu&lt;/strong&gt;&amp;nbsp;đó trên host khác, và tự động&lt;strong style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;đổi toàn bộ thiết lập trên website sang tên miền mới&lt;/strong&gt;&amp;nbsp;nếu bạn có nhu cầu đổi tên miền cho website.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 20px; line-height: 1.3em; margin: 0px 0px 17px; padding: 0px;&quot;&gt;
Cách sử dụng plugin Duplicator&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Sau khi&amp;nbsp;cài plugin&amp;nbsp;Duplicator, bạn sẽ thấy một menu về Duplicator xuất hiện trong Dashboard. Bạn có thể vào&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;Duplicator -&amp;gt; Packages -&amp;gt; Create New&lt;/strong&gt;&amp;nbsp;để tiến hành tạo một bản sao lưu mới.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
&lt;a data-rel=&quot;penci-gallery-image-content&quot; data-wpel-link=&quot;internal&quot; href=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-newpackage.png&quot; style=&quot;box-sizing: border-box; color: #1e73be; cursor: zoom-in; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s;&quot;&gt;&lt;img alt=&quot;duplicator-newpackage&quot; class=&quot;aligncenter size-full wp-image-23341&quot; height=&quot;680&quot; src=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-newpackage.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 5px auto; max-width: 100%; padding: 0px; vertical-align: top;&quot; width=&quot;1287&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Sau đó bạn có thể đặt tên package nếu muốn, hoặc ấn vào phần&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;Archive&lt;/strong&gt;&amp;nbsp;để tùy chọn loại bỏ một số dữ liệu mà bạn không muốn nó mang theo nếu cần, còn không cứ để nguyên và ấn Next.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
&lt;a data-rel=&quot;penci-gallery-image-content&quot; data-wpel-link=&quot;internal&quot; href=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-newpackage02.png&quot; style=&quot;box-sizing: border-box; color: #1e73be; cursor: zoom-in; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s;&quot;&gt;&lt;img alt=&quot;duplicator-newpackage02&quot; class=&quot;aligncenter size-full wp-image-23342&quot; height=&quot;493&quot; src=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-newpackage02.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 5px auto; max-width: 100%; padding: 0px; vertical-align: top;&quot; width=&quot;1024&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Bước này nó sẽ tiến hành quét sơ dữ liệu của bạn để kiểm tra dung lượng và báo cáo chi tiết xem cấu hình của bạn có thích hợp để xuất dữ liệu ra hay không vì thường nếu website của bạn có nhiều dữ liệu mà host yếu quá thì sẽ không chạy được.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
&lt;a data-rel=&quot;penci-gallery-image-content&quot; data-wpel-link=&quot;internal&quot; href=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-newpackage03.png&quot; style=&quot;box-sizing: border-box; color: #1e73be; cursor: zoom-in; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s;&quot;&gt;&lt;img alt=&quot;duplicator-newpackage03&quot; class=&quot;aligncenter size-full wp-image-23343&quot; height=&quot;728&quot; src=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-newpackage03.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 5px auto; max-width: 100%; padding: 0px; vertical-align: top;&quot; width=&quot;724&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Nếu nó chỉ báo Warning (Warn) một số phần thôi thì bạn vẫn có thể dùng được, chỉ là thời gian hơi lâu một chút. Bạn có thể ấn nút Build để bắt đầu tạo gói sao lưu dữ liệu từ plugin này, thời gian đợi có thể nhanh hay chậm tùy vào độ lớn của dữ liệu.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Sau khi nó làm xong, bạn có thể tải tập tin dữ liệu và file&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;installer.php&lt;/strong&gt;&amp;nbsp;về máy. File installer.php này là file mà bạn cần bắt buộc để chạy khi cần phục hồi dữ liệu lại trên host khác.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
&lt;a data-rel=&quot;penci-gallery-image-content&quot; data-wpel-link=&quot;internal&quot; href=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-newpackage-finish.png&quot; style=&quot;box-sizing: border-box; color: #1e73be; cursor: zoom-in; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s;&quot;&gt;&lt;img alt=&quot;duplicator-newpackage-finish&quot; class=&quot;aligncenter size-full wp-image-23344&quot; height=&quot;260&quot; src=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-newpackage-finish.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 5px auto; max-width: 100%; padding: 0px; vertical-align: top;&quot; width=&quot;804&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Bây giờ mình cần khôi phục dữ liệu này trên host khác, thì sẽ upload file .zip (dữ liệu của website) và installer.php (công cụ phục hồi) lên host.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Sau đó vào File Manager của host tìm tập tin .zip vừa upload lên và chọn Extract.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
sau đó chạy file installer.php trên host theo đường dẫn&amp;nbsp;&lt;em style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;http://domain/installer.php&lt;/em&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
&lt;a data-rel=&quot;penci-gallery-image-content&quot; data-wpel-link=&quot;internal&quot; href=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-restore-01.png&quot; style=&quot;box-sizing: border-box; color: #1e73be; cursor: zoom-in; margin: 0px; outline: 0px; padding: 0px; transition: color 0.3s ease 0s;&quot;&gt;&lt;img alt=&quot;duplicator-restore-01&quot; class=&quot;aligncenter size-full wp-image-23345&quot; height=&quot;612&quot; src=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-restore-01.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 5px auto; max-width: 100%; padding: 0px; vertical-align: top;&quot; width=&quot;1121&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
sau đó chạy file installer.php trên host theo đường dẫn&amp;nbsp;&lt;em style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;http://domain/installer.php&lt;/em&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
&lt;a data-rel=&quot;penci-gallery-image-content&quot; data-wpel-link=&quot;internal&quot; href=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-restore-01.png&quot; style=&quot;box-sizing: border-box; color: #1e73be; cursor: zoom-in; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s;&quot;&gt;&lt;img alt=&quot;duplicator-restore-01&quot; class=&quot;aligncenter size-full wp-image-23345&quot; height=&quot;612&quot; src=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-restore-01.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 5px auto; max-width: 100%; padding: 0px; vertical-align: top;&quot; width=&quot;1121&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Hãy nhập thông tin database của bạn vào,&amp;nbsp;bạn nên tạo sẵn database mới từ trước, nhập xong nhớ ấn nút&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;Test Connection&lt;/strong&gt;&amp;nbsp;để xem bạn đã nhập đúng thông tin database hay chưa.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Sau đó chọn Advanved Options và đánh dấu vào&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;Manual package extraction&lt;/strong&gt;. Cuối cùng chọn đồng ý các điều khoản và ấn nút Run Deployment.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-27200&quot; height=&quot;883&quot; src=&quot;https://thachpham.com/wp-content/uploads/2015/04/2017-duplicator1.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 5px auto; max-width: 100%; padding: 0px; vertical-align: top;&quot; width=&quot;728&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Kế tiếp, nó sẽ hỏi bạn thiết lập tên miền mới và tạo tài khoản admin mới cho website nếu muốn. Thường thì bạn chạy file&lt;strong style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;installer.php&lt;/strong&gt;&amp;nbsp;ở tên miền nào thì nó sẽ tự xác định website sử dụng tên miền đó. Sau khi chắc chắn xong thông tin thì ấn nút&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box; margin: 0px; padding: 0px;&quot;&gt;Run Update&lt;/strong&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
&lt;a data-rel=&quot;penci-gallery-image-content&quot; data-wpel-link=&quot;internal&quot; href=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-restore-03.png&quot; style=&quot;box-sizing: border-box; color: #1e73be; cursor: zoom-in; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s;&quot;&gt;&lt;img alt=&quot;duplicator-restore-03&quot; class=&quot;aligncenter size-full wp-image-23347&quot; height=&quot;666&quot; src=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-restore-03.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 5px auto; max-width: 100%; padding: 0px; vertical-align: top;&quot; width=&quot;791&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Cuối cùng là nó hiện ra bảng này tức là dữ liệu đã khôi phục thành công.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
&lt;a data-rel=&quot;penci-gallery-image-content&quot; data-wpel-link=&quot;internal&quot; href=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-restore-04.png&quot; style=&quot;box-sizing: border-box; color: #1e73be; cursor: zoom-in; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s;&quot;&gt;&lt;img alt=&quot;duplicator-restore-04&quot; class=&quot;aligncenter size-full wp-image-23348&quot; height=&quot;657&quot; src=&quot;https://thachpham.com/wp-content/uploads/2013/09/duplicator-restore-04.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; margin: 5px auto; max-width: 100%; padding: 0px; vertical-align: top;&quot; width=&quot;770&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Bây giờ thì dữ liệu của bạn đã được chuyển qua host mới và sử dụng một tên miền mới. Việc của bạn cần làm bây giờ là:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; list-style: none; margin: 0px 0px 20px; padding: 0px 0px 0px 50px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.7; list-style: square; margin: 0px 0px 7px; padding: 0px; position: relative;&quot;&gt;Vào Settings -&amp;gt; Permalinks và ấn Save Changes.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.7; list-style: square; margin: 0px 0px 7px; padding: 0px; position: relative;&quot;&gt;Vào Duplicator -&amp;gt; Tools -&amp;gt; Cleanup -&amp;gt; ấn vào Delete Reserved Files để xóa bản backup kia đi để tránh kẻ xấu chạy file installer.php.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.7; list-style: square; margin: 0px 0px 7px; padding: 0px; position: relative;&quot;&gt;Tắt plugin Duplicator cho đỡ vướng víu.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Vậy thôi đó, thấy đơn giản không nào? Thực ra đây là một plugin rất có ích với mình vì nó giúp mình chuyển host nhanh hơn hoặc đơn giản là mình cần lấy một bản WordPress nào đó cài ra thành nhiều website khác mà không cần phải làm nhiều thao tác. Nên nếu bạn chưa rành về kỹ thuật, có nhu cầu đổi domain cho WordPress hoặc chuyển host thì có thể sử dụng plugin này để đơn giản hóa các bước làm việc.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px;&quot;&gt;
Chúc bạn thành công!&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #313131; font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 17px; padding: 0px; text-align: right;&quot;&gt;
Nguồn:&amp;nbsp;thachpham&lt;/div&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2018/09/chuyen-host-hoac-oi-domain-trong.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-6546093939114886173</guid><pubDate>Thu, 16 Aug 2018 07:54:00 +0000</pubDate><atom:updated>2018-08-16T14:54:53.217+07:00</atom:updated><title>Tạo theme WordPress responsive bằng HTML5</title><description>&lt;div dir=&quot;auto&quot;&gt;Làm thế nào để tạo theme WordPress responsive bằng HTML5&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;HTML5 là gì và tại sao bạn cần dùng nó&lt;br&gt;Responsive Design là gì?&lt;br&gt;Bước 1 – Lưu trữ các tập tin của theme WordPress responsive&lt;br&gt;Bước 2 – Tạo các file template và CSS&lt;br&gt;Bước 3 – Trước khi bắt đầu việc phát triển&lt;br&gt;Bước 4 – Xây dựng layout với template&lt;br&gt;Hiểu về WordPress Template Tags và Action Hooks&lt;br&gt;Vòng lặp trong WordPress&lt;br&gt;Lời kết&lt;br&gt;Giới thiệu&lt;br&gt;Theme WordPress là tập hợp các files xác định cách bố trí trang web của bạn. Một theme bao gồm HTML, PHP và CSS, và cũng thường sử dụng JavaScript/jQuery. Trong bài hướng dẫn WordPress này, bạn sẽ học cách tạo một theme WordPress responsive bằng HTML5, CSS3 và các nguyên tắc thiết kế có độ phản hồi cao khác. Bạn cũng sẽ học cách để tách các phần khác nhau của chủ đề thành &#39;templates&#39;.&lt;br&gt;&lt;br&gt;Theme cũng như các plugin được tách biệt với mã cốt lõi của WordPress. Theme cho phép trang web của bạn có bố cục nhất quán cho mỗi trang, bài viết và có thể nhanh chóng được sửa để thay đổi giao diện trang web của bạn. Để hiển thị thông tin từ WordPress hoặc nội dung của một bài viết, bạn phải sử dụng các template tags được cung cấp bởi WordPress, và những điều này sẽ được giải thích trong hướng dẫn.&lt;br&gt;&lt;br&gt;Sau khi hoàn thành hướng dẫn này và tạo một theme WordPress responsive mới, bạn nên làm theo hướng dẫn tạo child theme cho WordPress để mở rộng theo những gì bạn đã học được. Theme WordPress responsive tạo ra trong hướng dẫn này sẽ cung cấp cho bạn nền tảng hoàn hảo để sử dụng trong bài hướng dẫn tạo child theme.&lt;br&gt;&lt;br&gt;Bạn cần gì?&lt;br&gt;Trình soạn thảo văn bản (Notepad++ hoặc NetBeans)&lt;br&gt;Tải khoản FTP để truy cập vào Hosting&lt;br&gt;Một bản cài đặt WordPress trên host&lt;br&gt;Chúng tôi khuyên bạn nên tải về bảng hướng dẫn CSS và mở nó bởi vì trong bài hướng dẫn này bạn sẽ cần phải chỉnh sửa file style.css của WordPress.&lt;br&gt;&lt;br&gt;HTML5 là gì và tại sao bạn cần dùng nó&lt;br&gt;HTML5 là phiên bản mới nhất của ngôn ngữ web HTML. Nó cung cấp một bộ các tính năng hiện đại giúp bạn hiển thị nội dung của mình một cách nhất quán trên bất kỳ máy tính, máy tính xách tay, máy tính bảng hay điện thoại di động.&lt;br&gt;&lt;br&gt;Sự thay đổi lớn nhất là có một bộ các yếu tố ngữ nghĩa HTML mới. Ví dụ, phần footer của bất kỳ trang HTML nào bây giờ có thể được xác định bằng cách sử dụng thẻ &amp;lt;footer&amp;gt;&amp;lt;/ footer&amp;gt; và điều này cho trình duyệt web biết rằng nội dung chứa trong đó là một phần của foooter. Trong các phiên bản HTML trước đây, phần footer được tạo bằng thẻ &amp;lt;div&amp;gt;&amp;lt;/ div&amp;gt; phổ biến.&lt;br&gt;&lt;br&gt;Một trang HTML5 cơ bản sẽ giống như sau:&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;html lang=&amp;quot;en&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;head&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;title&amp;gt;My HTML5 Page&amp;lt;/title&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;meta charset=&amp;quot;UTF-8&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;meta name=&amp;quot;viewport&amp;quot; content=&amp;quot;width=device-width, initial-scale=1.0&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;css/normalize.min.css&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;css/main.css&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;/head&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;body&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;header&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;h1&amp;gt;My Website&amp;lt;/h1&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/header&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;main&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;section&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;header&amp;gt;&lt;br&gt;&lt;br&gt;      &amp;lt;h2&amp;gt;My Articles&amp;lt;/h2&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;/header&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;article&amp;gt;&lt;br&gt;&lt;br&gt;      &amp;lt;header&amp;gt;&lt;br&gt;&lt;br&gt;        &amp;lt;h2&amp;gt;An Article&amp;lt;/h2&amp;gt;&lt;br&gt;&lt;br&gt;      &amp;lt;/header&amp;gt;&lt;br&gt;&lt;br&gt;      &amp;lt;p class=&amp;quot;inline-text-box&amp;quot;&amp;gt;Left&amp;lt;/p&amp;gt;&amp;lt;p class=&amp;quot;inline-text-box&amp;quot;&amp;gt;Right&amp;lt;/p&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;/article&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;/section&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/main&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;footer&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;p&amp;gt;Copyright &amp;amp;copy; 2017&amp;lt;/p&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/footer&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;/body&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;br&gt;Responsive Design là gì?&lt;br&gt;Responsive Design tức thiết kế có độ phản hồi cao, nghĩa là website của bạn sẽ tự động hiển thị ở định dạng tốt nhất cho khách truy cập dựa trên kích thước màn hình của họ. Bố cục trang sẽ phản hồi lại các khoảng trống có thể trên màn hình khách truy cập. Nội dung được đặt một cách hoàn hảo để không có gì bị cắt bỏ, không có gì tràn ngập trên màn hình và trang web của bạn sẽ trở nên vừa mắt.&lt;br&gt;&lt;br&gt;&lt;br&gt;Bạn nên nghĩ đến cách bố trí trang web của mình như là một loạt các lưới (grids) và cho nội dung theo phần trăm chiều rộng của lưới. Ví dụ: một thẻ div có thể chiếm 50% không gian có sẵn chứ không phải 800px theo chiều rộng. Một trang div đầy đủ theo chiều rộng sẽ chiếm 100% không gian sẵn có do đó nếu bạn muốn có 4 div bên trong nó trong thì mỗi cái sẽ chiếm khoảng 25% không gian.&lt;br&gt;&lt;br&gt;Đối với hình ảnh, bạn có thể đặt nó theo chiều rộng tối đa 100% kích thước thực và đặt chiều cao tự động. Khi khung chứa của hình ảnh giảm kích thước, hình ảnh sẽ tự động giảm chiều rộng và chiều cao tương ứng.&lt;br&gt;&lt;br&gt;Nếu sử dụng width: 100% thay vì max-width: 100% sẽ làm cho hình ảnh chiếm 100% không gian trống thay vì dừng ở chiều rộng thực của nó bằng. Nếu hình ảnh có chiều rộng 200px nhưng nằm bên trong một div chiếm 100% màn hình, max-width nghĩa là hình ảnh không bao giờ rộng hơn 200px.&lt;br&gt;&lt;br&gt;/* GOOD WIDTH */&lt;br&gt;&lt;br&gt;.inline-text-box {&lt;br&gt;&lt;br&gt; width: 50%;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;/* BAD WIDTH */&lt;br&gt;&lt;br&gt;.inline-text-box {&lt;br&gt;&lt;br&gt; width: 800px;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;/* GOOD IMAGE */&lt;br&gt;&lt;br&gt;img {&lt;br&gt;&lt;br&gt; max-width: 100%;&lt;br&gt;&lt;br&gt; height: auto&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;/* BAD IMAGE */&lt;br&gt;&lt;br&gt;img {&lt;br&gt;&lt;br&gt; width: 100%;&lt;br&gt;&lt;br&gt; height: auto;&lt;br&gt;&lt;br&gt;}&lt;br&gt;Để làm một theme WordPress responsive có tính cơ động cao, bạn cũng có thể sử dụng một tính năng của CSS3 tên là &quot;media queries&quot;. Trong &quot;media queries&quot; bạn có thể tùy ý xác định &quot;media type&quot; để thay đổi (màn hình, bản in vv) ở ít nhất một &quot;media feature&quot; (max-width, orientation,..). Các &quot;media feature&quot; có thể được xâu lại với nhau bằng cách sử dụng từ khoá and.&lt;br&gt;&lt;br&gt;/* Media Type and Media Feature*/&lt;br&gt;&lt;br&gt;@media only screen and (min-width: 400px) and (max-width: 800px) {&lt;br&gt;&lt;br&gt; .inline-text-box {&lt;br&gt;&lt;br&gt;width: 100%;&lt;br&gt;&lt;br&gt;display: block;&lt;br&gt;&lt;br&gt; }&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;/* Media Feature Only */&lt;br&gt;&lt;br&gt;@media (max-width: 1200px) {&lt;br&gt;&lt;br&gt; .inline-text-box {&lt;br&gt;&lt;br&gt;width: 50%;&lt;br&gt;&lt;br&gt; }&lt;br&gt;&lt;br&gt;}&lt;br&gt;Trong ví dụ đầu tiên, CSS sẽ được áp dụng cho bất kỳ màn hình nào (màn hình, điện thoạ,…) có chiều rộng có thể xem được giữa 400px và 800px.&lt;br&gt;Ví dụ thứ hai sẽ được áp dụng cho bất kỳ loại phương tiện nào xem nó.&lt;br&gt;Loại &quot;media type&quot; khác là &#39;print&#39;, có nghĩa là CSS sẽ chỉ được áp dụng nếu người dùng đang xem chế độ print-preview của trang web.&lt;br&gt;Một danh sách đầy đủ các &quot;media types&quot; và &quot;media features&quot; có thể được tìm thấy trên website của Mozilla Developer Network.&lt;br&gt;&lt;br&gt;Trong CSS stylesheet, bạn định nghĩa các quy tắc chỉ ra khi nội dung được thay đổi thì nội dung gì được thay đổi và nội dung đó được thay đổi như thế nào. Bạn có thể thay đổi bất kỳ thuộc tính CSS nào theo cách này, chẳng hạn như chiều rộng của bất kỳ textbox nào hoặc màu nền của một div. Một số ví dụ về quy tắc &quot;media-feature&quot; chỉ ra khi các quy tắc được áp dụng:&lt;br&gt;&lt;br&gt;max-width – chiều rộng tối đa của khu vực có thể xem được của trình duyệt, lớn hơn vùng này thì các quy tắc đều không được áp dụng.&lt;br&gt;&lt;br&gt;min-width – chiều rộng tối thiểu cho vùng có thể xem được, nhỏ hơn vùng này thì các quy tắc đều không được áp dụng.&lt;br&gt;&lt;br&gt;orientation – bất kỳ màn hình nào dù là ở chế độ portrait hay landscape&lt;br&gt;&lt;br&gt;Một ví dụ phổ biến là khi bạn có hai text box cạnh nhau mà cả hai chiếm 50% màn hình. Khi cửa sổ trình duyệt được nhỏ hơn, các text box tự động điều chỉnh để vẫn chiếm 50% cửa sổ thay vì biến mất bên ngoài. Nếu cửa sổ trình duyệt quá nhỏ để hiển thị chính xác tất cả các văn bản trong các text box đó, bạn có thể để nó chiếm 100% kích thước cửa sổ và hiển thị bên trên cái còn lại. Bạn cũng có thể ẩn nội dung hoàn toàn nếu thích hợp hơn.&lt;br&gt;&lt;br&gt;Bước 1 – Lưu trữ các tập tin của theme WordPress responsive&lt;br&gt;Thực hiện ngay cả những thay đổi nhỏ cho một theme WordPress responsive có thể gây ra lỗi và làm cho trang web của bạn không sử dụng được. Một vấn đề phổ biến là sau khi thay đổi code, bạn cố gắng tải trang web của bạn và được một màn hình trắng được gọi là the white screen of death. Tìm gỡ lỗi trong trường hợp này có thể rất khó khăn.&lt;br&gt;&lt;br&gt;Để tránh ảnh hưởng đến website, chúng tôi khuyên bạn nên test ở máy cá nhân. Sau khi mọi thứ hoạt động ổn định, hãy tiến hành upload lên host. Bạn có thể tìm hiểu cách để tạo localhost chạy WordPress trên Windows hoặc sử dụng Docker để chạy WordPress.&lt;br&gt;&lt;br&gt;Nào chúng ta cùng bắt đầu vào bài hướng dẫn tạo theme WordPress responsive.&lt;br&gt;&lt;br&gt;Theme WordPress responsive được lưu tại thư mục wp-content/themes. Trong thư mục này, hãy tạo một thư mục mới mang tên my-theme&lt;br&gt;&lt;br&gt;Lưu ý: tên của thư mục theme không được chứa số và khoảng trắng. Nếu bạn dự định chia sẽ theme của mình lên WordPress.org Theme Directory thì hãy chắn chắc rằng chưa có ai đã dùng tên đó trước bạn.&lt;br&gt;&lt;br&gt;Theme WordPress responsive có thể được tạo ra với chỉ 2 files là index.php và style.css. WordPress sẽ sử dụng nó để hiện thị các bài viết, các trang trên website.&lt;br&gt;&lt;br&gt;Thực tế, bạn sẽ muốn các bài viết, các trang và các phần khác của trang web có bố cục (layout) riêng. Mỗi phần của trang web của bạn sẽ có file riêng để lưu giữ HTML và PHP cho riêng phần đó – mỗi file như vậy được gọi là &quot;template&quot;.&lt;br&gt;&lt;br&gt;Nếu bạn sử dụng các loại bài viết tùy chỉnh, bạn có thể tạo mẫu chỉ áp dụng cho các bài viết thuộc loại đó. Nếu bạn muốn các bài viết thuộc một thể loại cụ thể hiển thị theo kiểu khác, bạn có thể thực hiện điều đó bằng cách sử dụng câu lệnh if… then… trong vòng lặp.&lt;br&gt;&lt;br&gt;Mỗi template file phải dùng chính xác tên được định nghĩa trong Tài liệu của WordPress.&lt;br&gt;&lt;br&gt;Một vài template file không nằm trong index.php:&lt;br&gt;&lt;br&gt;header.php – chứa các đoạn HTML nằm ở phần đầu của trang, bắt đầu từ &amp;lt;!DOCTYPE html&amp;gt;&lt;br&gt;single.php – được sử dụng khi hiển thị một bài viết (post) từ blog của bạn&lt;br&gt;page.php – được sử dụng khi hiển thị một trang (page) từ blog của bạn&lt;br&gt;comments.php – xác định cách mà nhận xét và textbox nhận xét được hiển thị&lt;br&gt;footer.php – chứa các đoạn HTML nằm ở phần cuối của trang, bao gồm &amp;lt;/html&amp;gt;&lt;br&gt;Bạn có thể tham khảo danh sách đầy đủ các template tại đây&lt;br&gt;&lt;br&gt;Bây giờ bạn đã có một thư mục để chứa theme WordPress responsive, bạn cần tạo một vài template file đơn giản.&lt;br&gt;&lt;br&gt;Bước 2 – Tạo các file template và CSS&lt;br&gt;Trong thư mục my-theme, bạn hãy tạo các files PHP như sau:&lt;br&gt;&lt;br&gt;header.php&lt;br&gt;index.php&lt;br&gt;footer.php&lt;br&gt;functions.php&lt;br&gt;sidebar.php&lt;br&gt;single.php&lt;br&gt;page.php&lt;br&gt; &lt;br&gt;&lt;br&gt;Tiếp tục tạo thêm file style.css (đây là file stylesheet chính, nó bắt buộc phải có tên là style.css)&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Bước đầu tiên sau khi tạo tất cả các files như trên là thêm một vài thông tin vào phần đầu của file style.css để WordPress đọc và hiển thị các thông tin về theme của bạn ở Admin Control Panel.&lt;br&gt;&lt;br&gt;Phần thông tin này cần được viết dưới dạng ghi chú của CSS (comment) trên nhiều dòng như sau:&lt;br&gt;&lt;br&gt;Bố cục: Keyword: Information&lt;br&gt;&lt;br&gt;/*&lt;br&gt;&lt;br&gt;Theme Name: My Theme&lt;br&gt;&lt;br&gt;Author: Hostinger&lt;br&gt;&lt;br&gt;Author URI: &lt;a href=&quot;http://www.hostinger.vn/huong-dan&quot;&gt;http://www.hostinger.vn/huong-dan&lt;/a&gt;&lt;br&gt;&lt;br&gt;Description: My first responsive HTML5 theme&lt;br&gt;&lt;br&gt;Version: 1.0&lt;br&gt;&lt;br&gt;License: GNU General Public License v3 or later&lt;br&gt;&lt;br&gt;License URI: &lt;a href=&quot;http://www.gnu.org/licenses/gpl-3.0.html&quot;&gt;http://www.gnu.org/licenses/gpl-3.0.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;*/&lt;br&gt;Có nhiều phần để bạn định nghĩa như tên theme WordPress responsive, tên người tạo, phiên bản của theme,…Bạn có thể tham khảo thêm các từ khóa định nghĩa của WordPress tại đây&lt;br&gt;&lt;br&gt;Vào lúc này, theme WordPress responsive của bạn đã được hiển thị ở Theme trong Admin Control Panel&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Tuy nhiên lúc này theme của bạn vẫn chưa có hình đại diện, chúng ta sẽ chụp một cái sau khi hoàn thành việc tạo theme.&lt;br&gt;&lt;br&gt;Nếu bạn tiến hành kích hoạt theme lúc này sẽ gặp trang trắng bởi vì file index.php chưa chó nội dung và cũng chưa có template nào được định nghĩa.&lt;br&gt;&lt;br&gt;Bây giờ chúng ta sẽ thêm đoạn CSS định nghĩa phần màu nền của trang. Mở file style.css và tiến hành thêm đoạn mã sau vào.&lt;br&gt;&lt;br&gt;* {&lt;br&gt;&lt;br&gt; box-sizing: border-box;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;body {&lt;br&gt;&lt;br&gt;background-color: #f9f9f9;&lt;br&gt;&lt;br&gt;font-family: Helvetica;&lt;br&gt;&lt;br&gt;}&lt;br&gt;Ký tự * rất quan trọng, nó tượng trưng cho tất cả các lớp trong trang HTML. Chiều rộng và chiều cao cuối cùng của mỗi mục trên trang sẽ bao gồm nội dung, phần đệm và đường viền. Nếu bạn không đặt điều này và có hai hộp rộng 50% gắn liền với đệm hoặc đường viền, chúng sẽ không đứng cạnh nhau vì kích thước thực của chúng lớn hơn 100%. Một hộp 100% chiều rộng với 1% đường viền thực sự là 102% chiều rộng, vì 1% đường viền được thêm vào bên trái và phải. Quy tắc này có hiệu quả thêm vào đường viền bên trong hộp thay vì bên ngoài nó.&lt;br&gt;&lt;br&gt;Mục tiếp theo chỉ thay đổi màu nền của trang để chúng ta có thể nhanh chóng xem liệu các stylesheet đang được sử dụng như thế nào. Chúng tôi cũng thiết lập phông chữ mặc định sẽ được sử dụng trong theme WordPress responsive.&lt;br&gt;&lt;br&gt;Bước 3 – Trước khi bắt đầu việc phát triển&lt;br&gt;Trước khi thực sự bắt đầu tạo theme layout cho WordPress, bạn nên thêm một vài đoạn mã vào các files khác nhau để tạo cho mình một điểm khởi đầu Những bước này không bắt buộc nhưng rất khuyến khích bạn thực hiện.&lt;br&gt;&lt;br&gt;Các bước này sẽ có các giải thích ngắn gọn để bạn có thể nhanh chóng chuyển sang thực sự xây dựng layout.&lt;br&gt;&lt;br&gt;Đầu tiên, chúng ta sẽ nhúng một file có tên là normalize.css. Các trình duyệt khác nhau có cài đặt mặc định khác nhau cho những thứ như lề trang và phần đệm. Normalize.css sẽ cài đặt một số thuộc tính để đảm bảo rằng tất cả các trình duyệt hiển thị trang của bạn chính xác như nhau. Nếu bạn không sử dụng stylesheet để đặt các giá trị mặc định này, một số lỗi phổ biến sẽ xảy ra khi bạn cố gắng tạo phần đầu nằm ở phía trên cùng bên trái của mỗi trang, lúc này sẽ thật sự có một phần trống ở đầu của mỗi trang.&lt;br&gt;&lt;br&gt;functions.php&lt;br&gt;Mở file functions.php và thêm đoạn mã sau:&lt;br&gt;&lt;br&gt;&amp;lt;?php&lt;br&gt;&lt;br&gt;// This function enqueues the Normalize.css for use. The first parameter is a name for the stylesheet, the second is the URL. Here we use an online version of the css file.&lt;br&gt;&lt;br&gt;function add_normalize_CSS() {&lt;br&gt;&lt;br&gt;wp_enqueue_style( &amp;#39;normalize-styles&amp;#39;, &amp;quot;&lt;a href=&quot;https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css&quot;&gt;https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css&lt;/a&gt;&amp;quot;);&lt;br&gt;&lt;br&gt;}&lt;br&gt;Tiếp theo, bạn sẽ cần bật sidebar widget. Nếu bạn không thêm đoạn mã này vào thì đường dẫn tới menu widget sẽ không hiển thị trong Admin Control Panel và do đó bạn sẽ không thêm được bất kỳ widget nào. Thêm tiếp tục đoạn mã sau vào file functions.php&lt;br&gt;&lt;br&gt;// Register a new sidebar simply named &amp;#39;sidebar&amp;#39;&lt;br&gt;&lt;br&gt;function add_widget_Support() {&lt;br&gt;&lt;br&gt;            register_sidebar( array(&lt;br&gt;&lt;br&gt;                            &amp;#39;name&amp;#39;       =&amp;gt; &amp;#39;Sidebar&amp;#39;,&lt;br&gt;&lt;br&gt;                            &amp;#39;id&amp;#39;         =&amp;gt; &amp;#39;sidebar&amp;#39;,&lt;br&gt;&lt;br&gt;                            &amp;#39;before_widget&amp;#39; =&amp;gt; &amp;#39;&amp;lt;div&amp;gt;&amp;#39;,&lt;br&gt;&lt;br&gt;                            &amp;#39;after_widget&amp;#39;  =&amp;gt; &amp;#39;&amp;lt;/div&amp;gt;&amp;#39;,&lt;br&gt;&lt;br&gt;                            &amp;#39;before_title&amp;#39;  =&amp;gt; &amp;#39;&amp;lt;h2&amp;gt;&amp;#39;,&lt;br&gt;&lt;br&gt;                            &amp;#39;after_title&amp;#39;   =&amp;gt; &amp;#39;&amp;lt;/h2&amp;gt;&amp;#39;,&lt;br&gt;&lt;br&gt;            ) );&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;// Hook the widget initiation and run our function&lt;br&gt;&lt;br&gt;add_action( &amp;#39;widgets_init&amp;#39;, &amp;#39;add_Widget_Support&amp;#39; );&lt;br&gt;Bây giờ chúng ta cần thiết lập tùy chỉnh điều hướng cho menu để dùng được tại Appearance -&amp;gt; Menu ở Admin Control Panel&lt;br&gt;&lt;br&gt;// Register a new navigation menu&lt;br&gt;&lt;br&gt;function add_Main_Nav() {&lt;br&gt;&lt;br&gt; register_nav_menu(&amp;#39;header-menu&amp;#39;,__( &amp;#39;Header Menu&amp;#39; ));&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;// Hook to the init action hook, run our navigation menu function&lt;br&gt;&lt;br&gt;add_action( &amp;#39;init&amp;#39;, &amp;#39;add_Main_Nav&amp;#39; );&lt;br&gt;Tiếp tục thêm doạn mã trên vào file functions.php và lưu lại ở thư mục theme của bạn.&lt;br&gt;&lt;br&gt;sidebar.php&lt;br&gt;Mở file sidebar.php và thêm đoạn mã sau vào, việc này cho phép sidebar và widget xuất hiện trong theme của bạn bất cứ khi nào hàm get_sidebar() được gọi.&lt;br&gt;&lt;br&gt;&amp;lt;?php if ( is_active_sidebar( &amp;#39;sidebar&amp;#39; ) ) : ?&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;aside id=&amp;quot;primary-sidebar&amp;quot; class=&amp;quot;primary-sidebar widget-area&amp;quot; role=&amp;quot;complementary&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php dynamic_sidebar( &amp;#39;sidebar&amp;#39; ); ?&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;/aside&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php endif; ?&amp;gt;&lt;br&gt;Dòng đầu tiên sẽ cho WordPress biết rằng nếu không có widget nào được bật thì đoạn mã HTML cho sidebar sẽ không được hiển thị. Dòng thứ hai sẽ đặt thuộc tính cho các phần tử nằm trong widget. HTML5 cung cấp phần tử &quot;aside&quot; cho sidebar. Dòng thứ ba là hàm của WordPress dùng để hiển thị sidebar. Dòng cuối là câu lện đóng lại mệnh đề if.&lt;br&gt;&lt;br&gt;Save lại file sidebar.php vào thư mục theme WordPress responsive của bạn.&lt;br&gt;&lt;br&gt;Để dễ dàng trong việc di chuyển qua lại giữa bài viết (post) và trang (page), hãy mở Admin Control Panel để thêm widget Pages và Recent Posts vào sidebar. Bây giờ chúng ta sẽ tiếp tục đi xây dựng layout.&lt;br&gt;&lt;br&gt;Bước 4 – Xây dựng layout với template&lt;br&gt;header.php&lt;br&gt;header.php sẽ định nghĩa phần đầu của trang web bắt đầu bằng định nghĩa DOCTYPE&lt;br&gt;&lt;br&gt;Tất cả các văn bản HTML đều bắt đầu bằng định nghĩa DOCTYPE, nó sẽ giúp cho Trình duyệt biết cách để xử lý văn bản này. HTML5 chỉ đơn giản là van bản html. Thẻ mở &amp;lt;html&amp;gt; cần một thuộc tính ngôn ngữ và WordPress cung cấp một hàm chức năng để nhập chính xác mã ngôn ngữ cho ngôn ngữ mà bạn đã chọn trong quá trình cài đặt – đó là hàm language_attributes().&lt;br&gt;&lt;br&gt;Trong phần title, bạn sẽ cần sử dụng một đoạn mã để hiển thị tên website của bạn cũng như một mệnh đề if…then…để hiển thị phần tagline cũng như tiêu đề của trang hoặc bài viết đang được đọc.&lt;br&gt;&lt;br&gt;Các dấu ? là một toán tử có điều kiện PHP có tên là toán tử thứ ba. Trong dòng mã này, is_front_page() là một hàm chức năng của WordPress trả về TRUE nếu xem trang đầu, hoặc FALSE nếu xem bất kỳ bài viết hay trang nào. Hàm trước dấu hai chấm được sử dụng nếu TRUE được trả về, và hàm sau dấu hai chấm được sử dụng nếu FALSE được trả về.&lt;br&gt;&lt;br&gt;Như bạn thấy bên dưới, hàm chức năng bloginfo() được sử dụng nhiều lần với các tham số khác nhau để nhận các phần thông tin khác nhau từ cơ sở dữ liệu WordPress. Trước khi thẻ &amp;lt;head&amp;gt; đóng với &amp;lt;/head&amp;gt;, bạn phải sử dụng hàm  wp_head() để đảm bảo mọi chức năng gắn liền với nó được chạy.&lt;br&gt;&lt;br&gt;Hàm body_class() cung cấp cho phần body các lớp CSS mặc định được thiết lập bởi WordPress. Dòng cuối cùng cho phép menu điều hướng được hiển thị nếu có một cái đã được tạo ra trong Admin Control Panel.&lt;br&gt;&lt;br&gt;File header.php sau cùng sẽ trông giống như sau:&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;html &amp;lt;?php language_attributes(); ?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;head&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;title&amp;gt;&amp;lt;?php bloginfo(&amp;#39;name&amp;#39;); ?&amp;gt; &amp;amp;raquo; &amp;lt;?php is_front_page() ? bloginfo(&amp;#39;description&amp;#39;) : wp_title(&amp;#39;&amp;#39;); ?&amp;gt;&amp;lt;/title&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;meta charset=&amp;quot;&amp;lt;?php bloginfo( &amp;#39;charset&amp;#39; ); ?&amp;gt;&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;meta name=&amp;quot;viewport&amp;quot; content=&amp;quot;width=device-width, initial-scale=1.0&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;&amp;lt;?php bloginfo(&amp;#39;stylesheet_url&amp;#39;); ?&amp;gt;&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;?php wp_head(); ?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;body &amp;lt;?php body_class(); ?&amp;gt;&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;header class=&amp;quot;my-logo&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;h1&amp;gt;&amp;lt;a href=&amp;quot;&amp;lt;?php echo esc_url( home_url( &amp;#39;/&amp;#39; ) ); ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php bloginfo(&amp;#39;name&amp;#39;); ?&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/h1&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/header&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php wp_nav_menu( array( &amp;#39;header-menu&amp;#39; =&amp;gt; &amp;#39;header-menu&amp;#39; ) ); ?&amp;gt;&lt;br&gt;Nếu bạn muốn dùng logo như là phần header thì hãy thay thế &amp;lt;?php bloginfo(&#39;name&#39;); ?&amp;gt; bằng đoạn mã dẫn đến hình ảnh bên trong tag &amp;lt;header&amp;gt;&lt;br&gt;&lt;br&gt;Lưu lại file header.php vào thư mục theme của bạn.&lt;br&gt;&lt;br&gt;index.php&lt;br&gt;index.php định nghĩa phần trang chủ và nó sẽ sử dụng layout mặc định nếu một vài files đặc biệt trong template (single.php, page.php) không được tìm thấy.&lt;br&gt;&lt;br&gt;Chúng ta sẽ dùng template tag để chắc chắn rằng phần mã đầu (get_header), sidebar (get_sidebar) và footer (get_footer) có trong phần trang chủ.&lt;br&gt;&lt;br&gt;Vòng lặp của WordPress sẽ hiển thị một danh sách các bài đăng và trích đoạn của chúng với nhiều template tag hơn. Chúng ta cũng sẽ sử dụng các phần tử ngữ nghĩa HTML5 như &amp;lt;section&amp;gt;, &amp;lt;main&amp;gt;, &amp;lt;header&amp;gt; và &amp;lt;article&amp;gt;. Một số phần tử sẽ có các lớp được gán cho chúng và các lớp sẽ được ghi khi chúng ta truy cập vào file style.css.&lt;br&gt;&lt;br&gt;&amp;lt;?php get_header(); ?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;main class=&amp;quot;wrap&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;section class=&amp;quot;content-area content-thin&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;article class=&amp;quot;article-loop&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;header&amp;gt;&lt;br&gt;&lt;br&gt;      &amp;lt;h2&amp;gt;&amp;lt;a href=&amp;quot;&amp;lt;?php the_permalink(); ?&amp;gt;&amp;quot; title=&amp;quot;&amp;lt;?php the_title_attribute(); ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php the_title(); ?&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;&lt;br&gt;&lt;br&gt;      By: &amp;lt;?php the_author(); ?&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;/header&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;?php the_excerpt(); ?&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;/article&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php endwhile; else : ?&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;article&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;p&amp;gt;Sorry, no posts were found!&amp;lt;/p&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;/article&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php endif; ?&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;/section&amp;gt;&amp;lt;?php get_sidebar(); ?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/main&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php get_footer(); ?&amp;gt;&lt;br&gt;Vòng lặp bắt đầu tại &amp;lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&amp;gt; và kết thúc tại &amp;lt;?php endif; ?&amp;gt;. Bên trong vòng lặp, các template tag sau được sử dụng.&lt;br&gt;&lt;br&gt;&amp;lt;?php the_permalink(); ?&amp;gt; – xuất ra URL đúng của bài viết&lt;br&gt;&amp;lt;?php the_title_attribute(); ?&amp;gt; – xuất ra tiêu đề của bài viết ở định dạng an toàn cho thuộc tính tiêu đề của liên kết&lt;br&gt;&amp;lt;?php the_title(); ?&amp;gt; – xuất ra tiêu đề của bài viết&lt;br&gt;&amp;lt;?php the_author(); ?&amp;gt; – xuất ra tên của người viết&lt;br&gt;&amp;lt;?php the_excerpt(); ?&amp;gt; – xuất ra trích đoạn của bài viết, nó được tự tạo ra nếu bạn không viết phần này&lt;br&gt; &lt;br&gt;&lt;br&gt;&amp;lt;header&amp;gt; &amp;lt;/header&amp;gt; có thể được sử dụng nhiều lần trên bất kỳ trang nào và không tham khảo cụ thể đến phần đầu trang.&lt;br&gt;&lt;br&gt;Các phần và bài viết nên có các phần tử tiêu đề nơi bất kỳ văn bản nào bên trong &amp;lt;h1&amp;gt;, &amp;lt;h2&amp;gt;,… được sử dụng. Nếu một phần hoặc bài viết không có văn bản tiêu đề, chúng có thể bị bỏ lại.&lt;br&gt;&lt;br&gt;Lưu lại file index.php, nếu bạn thử truy cập bạn sẽ thấy một hình ảnh tương tự như sau:&lt;br&gt;&lt;br&gt;&lt;br&gt;footer.php&lt;br&gt;footer.php định nghĩa phần cuối của mỗi trang và phải đóng bất kỳ thẻ HTML mở nào trong các files template trước đó. Trong trường hợp này &amp;lt;body&amp;gt; và &amp;lt;html&amp;gt; vẫn mở từ header.php.&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;Nó cũng phải bao gồm hàm wp_footer() để đảm bảo bất kỳ mã WordPress cuối cùng nào cũng như JavaScript được thêm vào trang. Nếu bạn đã đăng nhập với tư cách là quản trị viên khi bạn truy cập trang chủ, bài viết hoặc trang, bạn sẽ nhận thấy thanh quản trị viên bị thiếu. Mã hiển thị thanh quản trị được kết nối với hàm wp_footer().&lt;br&gt;&lt;br&gt;Chúng ta sẽ thêm phần tử ngữ nghĩa HTML5 &amp;lt;footer&amp;gt; &amp;lt;/ footer&amp;gt; để xác định rõ ràng phần cuối trang.&lt;br&gt;&lt;br&gt;&amp;lt;footer&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;p&amp;gt;Copyright &amp;amp;copy; 2017&amp;lt;/p&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/footer&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php wp_footer(); ?&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;/body&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;br&gt;Lưu lại file footer.php vào thư mục theme của bạn.&lt;br&gt;&lt;br&gt;single.php&lt;br&gt;single.php định nghĩa phần layout khi xem một bài viết trên trang web của bạn. Nó có thể hoàn toàn khác với index.php.&lt;br&gt;&lt;br&gt;Trong trường hợp này, chúng ta sẽ không thêm sidebar vào bài viết chỉ để làm nổi bật sự khác biệt trong layout.&lt;br&gt;&lt;br&gt;Nội dung chính chiếm toàn bộ chiều rộng của trang vì chúng ta đã cung cấp cho nó lớp content-full-width từ stylesheet. Liên kết đã bị xoá khỏi tiêu đề vì nó không cần thiết ở đây. Chức năng để hiển thị bài đăng đầy đủ là the_content():&lt;br&gt;&lt;br&gt;&amp;lt;?php get_header(); ?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;main class=&amp;quot;wrap&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;section class=&amp;quot;content-area content-full-width&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;article class=&amp;quot;article-full&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;header&amp;gt;&lt;br&gt;&lt;br&gt;      &amp;lt;h2&amp;gt;&amp;lt;?php the_title(); ?&amp;gt;&amp;lt;/h2&amp;gt;&lt;br&gt;&lt;br&gt;      By: &amp;lt;?php the_author(); ?&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;/header&amp;gt;&lt;br&gt;&lt;br&gt;   &amp;lt;?php the_content(); ?&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;/article&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php endwhile; else : ?&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;article&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;p&amp;gt;Sorry, no post was found!&amp;lt;/p&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;/article&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php endif; ?&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;/section&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/main&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php get_footer(); ?&amp;gt;&lt;br&gt;page.php&lt;br&gt;page.php định nghĩa cách trang được hiển thị và có thể khác biệt với index và layout của bài viết.&lt;br&gt;&lt;br&gt;Hãy nhớ rằng nếutemplate không tồn tại, template index.php sẽ được sử dụng thay thế. Nếu bạn không tạo page.php, nó sẽ không sử dụng layout giống như posts.php.&lt;br&gt;&lt;br&gt;Để làm cho sự khác biệt hiển thị rõ ràng hơn, chúng ta sẽ thêm lại sidebar cho layout này và làm cho nội dung trang chiếm 70% chiều rộng của trang.&lt;br&gt;&lt;br&gt;&amp;lt;?php get_header(); ?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;main class=&amp;quot;wrap&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;section class=&amp;quot;content-area content-thin&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;article class=&amp;quot;article-full&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;header&amp;gt;&lt;br&gt;&lt;br&gt;      &amp;lt;h2&amp;gt;&amp;lt;?php the_title(); ?&amp;gt;&amp;lt;/h2&amp;gt;&lt;br&gt;&lt;br&gt;      By: &amp;lt;?php the_author(); ?&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;/header&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;?php the_content(); ?&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;/article&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php endwhile; else : ?&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;article&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;p&amp;gt;Sorry, no page was found!&amp;lt;/p&amp;gt;&lt;br&gt;&lt;br&gt;  &amp;lt;/article&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php endif; ?&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;/section&amp;gt;&amp;lt;?php get_sidebar(); ?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/main&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php get_footer(); ?&amp;gt;&lt;br&gt;Lưu lại page.php vào thư mục theme của bạn.&lt;br&gt;&lt;br&gt;style.css&lt;br&gt;Thêm phần sau vào cuối của stylesheet. Điều này sẽ làm cho các box khác nhau có một nền trắng và đường viền màu xanh, để giúp hình dung bao nhiêu không gian mỗi một thực sự chiếm.&lt;br&gt;&lt;br&gt;/*&lt;br&gt;&lt;br&gt;Theme Name: My Theme1&lt;br&gt;&lt;br&gt;Author: Your Name&lt;br&gt;&lt;br&gt;Author URI: &lt;a href=&quot;http://www.yourwebsite.com&quot;&gt;http://www.yourwebsite.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;Description: My first responsive HTML5 theme&lt;br&gt;&lt;br&gt;Version: 1.0&lt;br&gt;&lt;br&gt;License: GNU General Public License v3 or later&lt;br&gt;&lt;br&gt;License URI: &lt;a href=&quot;http://www.gnu.org/licenses/gpl-3.0.html&quot;&gt;http://www.gnu.org/licenses/gpl-3.0.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;*/&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;* {&lt;br&gt;&lt;br&gt; box-sizing: border-box;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;body {&lt;br&gt;&lt;br&gt;background-color: #f9f9f9;&lt;br&gt;&lt;br&gt;font-family: Helvetica;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;.my-logo,&lt;br&gt;&lt;br&gt;footer {&lt;br&gt;&lt;br&gt; width: 100%;&lt;br&gt;&lt;br&gt; padding-left: 1%;&lt;br&gt;&lt;br&gt; margin-bottom: 8px;&lt;br&gt;&lt;br&gt; background-color: #78baff;&lt;br&gt;&lt;br&gt; border: 1px solid #78baff;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;body &amp;gt; header &amp;gt; h1 &amp;gt; a {&lt;br&gt;&lt;br&gt;color: #ffffff;&lt;br&gt;&lt;br&gt;font-weight: 400;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;article &amp;gt; header {&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;footer {&lt;br&gt;&lt;br&gt; margin-top: 4px;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;a {&lt;br&gt;&lt;br&gt; text-decoration: none;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;/* &amp;#39;Margin: 0 auto&amp;#39; centers block content on the page */&lt;br&gt;&lt;br&gt;.wrap {&lt;br&gt;&lt;br&gt; width: 99%;&lt;br&gt;&lt;br&gt; margin: 0 auto;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;.content-area {&lt;br&gt;&lt;br&gt; display: inline-block;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;.content-thin {&lt;br&gt;&lt;br&gt;width: 70%;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;.content-full-width {&lt;br&gt;&lt;br&gt;width: 100%;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;.content-area,&lt;br&gt;&lt;br&gt;.primary-sidebar {&lt;br&gt;&lt;br&gt; display: inline-block;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;.primary-sidebar {&lt;br&gt;&lt;br&gt; width: 25%;&lt;br&gt;&lt;br&gt; padding: 1%;&lt;br&gt;&lt;br&gt; vertical-align: top;&lt;br&gt;&lt;br&gt; background-color: #ececec;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;.article-loop {&lt;br&gt;&lt;br&gt;width: 45%;&lt;br&gt;&lt;br&gt;text-align: left;&lt;br&gt;&lt;br&gt;margin: 5px;&lt;br&gt;&lt;br&gt;padding: 10px;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;.article-full {&lt;br&gt;&lt;br&gt; width: 99%;&lt;br&gt;&lt;br&gt; padding: 1%;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;.article-loop,&lt;br&gt;&lt;br&gt;.article-full {&lt;br&gt;&lt;br&gt; display: inline-block;&lt;br&gt;&lt;br&gt; vertical-align: top;&lt;br&gt;&lt;br&gt; background-color: #FFF;&lt;br&gt;&lt;br&gt; border-radius: 4px;&lt;br&gt;&lt;br&gt; margin-bottom: 4px;&lt;br&gt;&lt;br&gt;}&lt;br&gt; &lt;br&gt;&lt;br&gt;Lưu lại style.css vào thư mục theme của bạn.&lt;br&gt;&lt;br&gt;Bây giờ bạn có các template cơ bản và stylesheet, bạn có thể dễ dàng điều hướng qua bài viết và trang của mình. Theme mới tạo của bạn sẽ giống như thế này.&lt;br&gt;&lt;br&gt;&lt;br&gt;Sử dụng media queries&lt;br&gt;Vì layout cơ bản của chúng ta có 2 hộp nội tuyến ở trang đầu, nên chúng ta có thể dễ dàng thay đổi cách hiển thị để văn bản chính xác khi cửa sổ trình duyệt quá nhỏ.&lt;br&gt;&lt;br&gt;Đối với hướng dẫn về theme WordPress responsive này, chúng ta sẽ thay đổi chiều rộng của bài viết trong danh sách bài viết khi cửa sổ trình duyệt ở dưới 800px. Thay vì có 2 bài viết cạnh nhau, mỗi bài viết sẽ có một dòng riêng. Chúng ta sẽ làm điều này bằng cách thêm &quot;media query&quot;. Nếu bạn cần xem lại các &quot;media query&quot;, hãy quay lại &quot;Responsive Design là gì?&quot; trong hướng dẫn này trước khi tiếp tục.&lt;br&gt;&lt;br&gt;Khi viết các &quot;media query&quot;, bạn có thể viết chúng ở bất cứ đâu trong stylesheet. Bạn có thể đặt tất cả các &quot;media query&quot; ở cuối stylesheet hoặc viết &quot;media query&quot; cụ thể cho các mục cụ thể ngay bên dưới định nghĩa ban đầu. Đó chỉ là vấn đề bạn nghĩ là hợp lý nhất.&lt;br&gt;&lt;br&gt;Đầu tiên chúng ta sẽ viết một &quot;media query&quot; ảnh hưởng đến lớp .article-loop, trong đó có chiều rộng là 49% theo mặc định. Chúng ta sẽ viết nó trực tiếp dưới định nghĩa ban đầu. Truy vấn &quot;media query&quot; sẽ nêu rõ rằng nếu cửa sổ trình duyệt nhỏ hơn 800px rộng, lớp .article-loop  nên sử dụng 99% không gian có sẵn thay thế.&lt;br&gt;&lt;br&gt;Sau đó, chúng tôi sẽ viết truy vấn &quot;media query&quot; khi cửa sổ trình duyệt nhỏ hơn 600px, đẩy thanh sidebar xuống dưới nội dung chính và kéo dài cả nội dung chính và sidebar để có độ rộng 100%. Đây sẽ là cách bố trí phù hợp hơn cho thiết bị di động nơi không gian bị hạn chế.&lt;br&gt;&lt;br&gt;Vẫn còn trong style.css, tìm .article-loop và thêm tiếp đoạn mã như sau:&lt;br&gt;&lt;br&gt;@media screen and (max-width: 800px) {&lt;br&gt;&lt;br&gt; .article-loop {&lt;br&gt;&lt;br&gt;   width: 99%;&lt;br&gt;&lt;br&gt; }&lt;br&gt;&lt;br&gt;}&lt;br&gt;Dòng đầu cho biết truy vấn &quot;media query&quot; chỉ nên ảnh hưởng đến các màn hình (không phải chế độ xem trước khi in) và chỉ ảnh hưởng đến các cửa sổ trình duyệt có chiều rộng 800px trở xuống. Lưu file style.css vào thư mục của theme. Đi tới trang chủ của trang web bạn. Thay đổi kích thước cửa sổ trình duyệt và khi nó vượt qua chiều rộng 800px, bạn sẽ thấy các hộp cho mỗi bài đăng thay đổi chiều rộng và thả xuống dưới hộp bên kia.&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;Tiếp tục giảm chiều rộng của cửa sổ trình duyệt cho đến khi nó càng nhỏ càng tốt. Bạn sẽ thấy rằng tất cả các văn bản trở nên khó đọc hơn vì nó có quá ít không gian, nhưng tại thời điểm nào nó sẽ biến mất khỏi màn hình. Nếu chiều rộng được xác định như chiều rộng pixel thay vì tỷ lệ phần trăm, ngay khi cửa sổ trở nên quá nhỏ, sidebar sẽ biến mất và yêu cầu cuộn ngang.&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;Truy vấn &quot;media query&quot; tiếp theo mà chúng ta sẽ thêm sẽ tương tự với truy vấn nói trên. Nó sẽ cho nội dung chính và sidebar để chiếm 100% không gian sẵn có và sidebar sẽ rơi xuống dưới nội dung chính.&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;LƯU Ý: Vì điều này ảnh hưởng đến các lớp khác nhau ở những nơi khác nhau trong stylesheet, nên thay vào đó đặt nó ở dưới cùng của stylesheet.&lt;br&gt;&lt;br&gt;@media screen and (max-width: 400px) {&lt;br&gt;&lt;br&gt; .content-area,&lt;br&gt;&lt;br&gt; .primary-sidebar {&lt;br&gt;&lt;br&gt;   width: 100%;&lt;br&gt;&lt;br&gt; }&lt;br&gt;&lt;br&gt;}&lt;br&gt; &lt;br&gt;&lt;br&gt;Lưu style.css vào thư mục theme của bạn. Quay lại trang chủ của bạn và thay đổi kích thước cửa sổ trình duyệt cho đến khi bạn thấy nội dung chiếm 100% chiều rộng và sidebar sẽ xuống dưới nội dung chính.&lt;br&gt;&lt;br&gt;&lt;br&gt;0:00&lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;Hiểu về WordPress Template Tags và Action Hooks&lt;br&gt;Để tích hợp đầy đủ theme của bạn với WordPress, bạn phải sử dụng template tags và action hooks. Đây là hai thứ khác biệt rõ rệt.&lt;br&gt;&lt;br&gt;Template tags&lt;br&gt;Template tags là các hàm PHP được cung cấp bởi WordPress để dễ dàng bao gồm các template files (như header.php) từ theme của bạn trong một file khác hoặc để hiển thị một số thông tin từ cơ sở dữ liệu.&lt;br&gt;&lt;br&gt;Ví dụ: để hiển thị phần footer trên trang chủ nhưng không ở bất kỳ trang nào khác, hãy thêm get_footer() vào cuối index.php nhưng không có trong page.php.&lt;br&gt;&lt;br&gt;Dưới đây là hai danh sách ngắn về một số template tags quan trọng để cung cấp cho bạn ý tưởng về những tags nào có sẵn.&lt;br&gt;&lt;br&gt;Các template tags để bao gồm các file khác:&lt;br&gt;&lt;br&gt;get_header() – bao gồm header.php trong  template&lt;br&gt;get_sidebar() – bao gồm  sidebar.php trong  template&lt;br&gt;get_footer() – bao gồm  footer.php trong  template&lt;br&gt;get_search_form() – bao gồm  searchform.php trong  template&lt;br&gt;Các template tags để hiển thị thông tin từ cơ sở dữ liệu:&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;LƯU Ý: Một số template tags phải được sử dụng trong vòng lặp. Vòng lặp được giải thích sau trong hướng dẫn và đơn giản chỉ có nghĩa là mã truy xuất bất kỳ bài đăng nào được yêu cầu.&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;bloginfo () – hiển thị thông tin được yêu cầu dưới dạng tham số, tức là bloginfo (&quot;name&quot;) cho biết tên trang web của bạn như được định nghĩa trong Admin Control Panel (xem danh sách các tham số)&lt;br&gt;single_post_title () – hiển thị tiêu đề của bài đăng được xem hiện tại khi được sử dụng trong single.php&lt;br&gt;the_author () – hiển thị tác giả của bài viết hiện đang xem&lt;br&gt;the_content () – hiển thị văn bản rút gọn của bài viết hoặc trang&lt;br&gt;the_experpt () – trích đoạn bài viết hoặc trang&lt;br&gt; &lt;br&gt;&lt;br&gt;Danh sách đầy đủ của template tags có thể được xem tại đây&lt;br&gt;&lt;br&gt;Action hooks&lt;br&gt;Action hooks là các hàm PHP được cung cấp bởi WordPress thường có các chức năng khác gắn liền với chúng. Một số không có chức năng kèm theo mặc định và tồn tại để sử dụng bởi các plugin. Action hooks cho phép các plugin thêm các chức năng riêng của chúng và cho phép chúng chạy ở các vị trí khác nhau khi tải một trang.&lt;br&gt;&lt;br&gt;Trong theme header template của bạn, action hook wp_head() được gọi để bao gồm tiêu đề WordPress mặc định HTML bên trong thẻ &amp;lt;head&amp;gt; &amp;lt;/ head&amp;gt;. Nó có một số chức năng WordPress cốt lõi để thêm HTML vào trang và cho phép bất kỳ chức năng gắn liền với nó bằng plugin để chạy.&lt;br&gt;&lt;br&gt;Trong phần footer của theme, một action hooks wp_footer() được gọi để bao gồm HTML mặc định và JavaScript, và chạy bất kỳ chức năng nào được đính kèm bởi plugin.&lt;br&gt;&lt;br&gt;Nếu bạn không sử dụng action hooks trong khi tạo theme WordPress responsive, mã cốt lõi quan trọng sẽ bị thiếu và plugin không thể hoạt động chính xác.&lt;br&gt;&lt;br&gt;Ví dụ: không gọi wp_footer() trong footer.php template sẽ chặn không hiển thị thanh Admin bar khi bạn đăng nhập với vai trò quản trị viên. Mã WordPress cốt lõi dùng để hiển thị Admin bar được gắn vào móc tác vụ wp_footer(), và các chức năng đính kèm không thể chạy nếu action hooks không tồn tại.&lt;br&gt;&lt;br&gt;Để có giải thích đầy đủ về các Action Hooks, hãy đọc phần Actions and Action Hooks của bài hướng dẫn này.&lt;br&gt;&lt;br&gt;Vòng lặp trong WordPress&lt;br&gt;Vòng lặp được sử dụng để hiển thị các bài đăng. Nó có thể được sử dụng để hiển thị một bài viết hoặc tất cả các bài viết được xuất bản của bạn trên một trang duy nhất. HTML mà bạn viết trong vòng lặp sẽ được sử dụng để hiển thị mỗi bài viết yêu cầu của vòng lặp. Mã sẽ tiếp tục lặp cho đến khi nó đạt đến bài viết cuối cùng.&lt;br&gt;&lt;br&gt;Nếu để hiển thị một bài viết bạn sử dụng template tags the_content() bên trong vòng lặp để hiển thị nội dung của bài viết . Nếu để hiển thị danh sách tất cả bài viết đã xuất bản, bạn có thể sử dụng the_experpt() bên trong vòng lặp để toàn bộ bài viết không được hiển thị.&lt;br&gt;&lt;br&gt;Vòng lặp là một mệnh đề if…then…được rút gọn trong 4 dòng như sau. Dòng đầu tiên tuyên bố rằng nếu một bài viết được tìm thấy, trong khi bài viết có sẵn, sử dụng mã sau để hiển thị bài viết. Nếu không tìm thấy bài phù hợp, bạn có thể định nghĩa văn bản thay thế. Ví dụ WordPress mặc định sẽ như thế này, và dòng nhận xét là nơi mà các thẻ HTML và mẫu của bạn được viết:&lt;br&gt;&lt;br&gt;&amp;lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&amp;gt;&lt;br&gt;&lt;br&gt;// HTML and template tags here to define the layout, and what is shown from the post&lt;br&gt;&lt;br&gt;&amp;lt;?php endwhile; else : ?&amp;gt;&lt;br&gt;&lt;br&gt; &amp;lt;p&amp;gt;&amp;lt;?php _e( &amp;#39;Sorry, no posts matched your criteria.&amp;#39; ); ?&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php endif; ?&amp;gt;&lt;br&gt;Lời kết&lt;br&gt;Xin chúc mừng! Bạn đã hoàn thành bài hướng dẫn tạo theme WordPress responsive bằng HTML5 với độ phản hồi cao.&lt;br&gt;&lt;br&gt;Bây giờ bạn đã hiểu về template và template tags, hãy xem qua danh sách các template và template tags từ trang phát triển của WordPress. Đồng thời bạn cũng có thêm kinh nghiệm để thêm một số mục vào layout, thay đổi CSS Style cũng như cách thay đổi &quot;media query&quot; sao cho phù hợp.&lt;br&gt;&lt;br&gt;Bạn đã có thể tiếp tục xem tiếp bài viết về cách tạo Child Theme WordPress Responsive&lt;br&gt;&lt;br&gt;&lt;br&gt;Các bài viết liên quan&lt;br&gt;Cách chèn Google Map vào WordPress&lt;br&gt;Làm thế nào để thêm push notification WordPress (thông báo đẩy)&lt;br&gt;Làm thế nào để đổi tên WordPress username (3 cách)&lt;br&gt;Chuyển website từ Joomla sang WordPress (trong 5 bước)&lt;br&gt;Hướng dẫn tạo file robots.txt cho WordPress&lt;br&gt;&lt;br&gt;    &lt;/div&gt;&lt;/div&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2018/08/tao-theme-wordpress-responsive-bang.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-2015702956366169213</guid><pubDate>Mon, 06 Aug 2018 08:52:00 +0000</pubDate><atom:updated>2018-08-06T15:52:36.683+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">dumper</category><category domain="http://www.blogger.com/atom/ns#">MySQL</category><category domain="http://www.blogger.com/atom/ns#">php</category><title>Chuyển lên PHP7 7.0, không thể dùng Sypex SQL Dumper và cả MySql Dumper và cách khắc phục</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px;&quot;&gt;Chào các bạn, thế là đến ngày hôm nay sao bao ngày vất vả di chuyển trang VnGeek về với căn nhà mới thì chuẩn bị ngồi nghỉ ngơi thì mình nghĩ là vào sao lưu lại cơ sở dữ liệu của site để cho an tâm nhưng mà lại có biến cố xảy ra.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px;&quot;&gt;Mới đầu mình nghĩ có lẽ là do lỗi nao đó phát sinh trong quá trình mình sao lưu và khôi phục chẳng hạn như cấu hình quyền tập tinh chưa đúng, lỗi file .htaccess, do cấu hình trong tập tin cấu hình của Apache2 (Mình chuyển từ Nginx sang Apache có vài lý do).&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; word-wrap: break-word;&quot;&gt;
Mà theo mình được biết cái lỗi này [PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect()] là do không thể kết nối được đến MySQL.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; word-wrap: break-word;&quot;&gt;
Mình thoáng nghĩ rằng đâu có phải mình chỉnh sửa tập tin gì, cũng như là bản Sypex SQL Dumper và cả MySQL Dumper mình đều mới tải về thì làm sao có vấn đề gì được. Trong phút chốc định thần nghĩ lại xem mình đã thay đổi những gì thì mình nhớ lại đó là mình chuyển đổi Webserver Nginx sang Apache. Và mình cũng vừa nâng cấp phiên bản PHP từ PHP 5.0 lên 7.0.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; word-wrap: break-word;&quot;&gt;
Đó cũng chính là mấu chốt của vấn đề này. Và rõ ràng cái phiên bản Sypex mình tải về là phiên bản miễn phí của tác giả phát hành vào năm 2013 của công ty&amp;nbsp;BINOVATOR ở đất nước Ukraina.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; word-wrap: break-word;&quot;&gt;
Cả phiên bản MySQL Dumper được đưa lên từ năm 2016.&lt;/div&gt;
&lt;figure class=&quot;wp-caption alignnone&quot; id=&quot;attachment_6980&quot; style=&quot;background-color: white; box-sizing: border-box; color: #222222; display: inline-block; font-family: Verdana, Geneva, sans-serif; font-size: 15px; margin: 0px 5px; max-width: 100%; text-align: center; width: 696px;&quot;&gt;&lt;figcaption class=&quot;wp-caption-text&quot; style=&quot;box-sizing: border-box; color: #444444; font-size: 11px; font-style: italic; line-height: 17px; margin: 6px 0px 26px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #222222; font-size: 15px;&quot;&gt;Và mình không nghi ngờ gì nữa. Đó là do cả hai phiên bản này đều không Support cho PHP 7.0.&lt;/span&gt;&lt;/figcaption&gt;&lt;/figure&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; word-wrap: break-word;&quot;&gt;
Giải quyết vấn đề này ra sao? Ồ đơn giản là hỏi anh Google.&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; word-wrap: break-word;&quot;&gt;
Và kết quả không nằm ngoài dự đoán của mình.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; word-wrap: break-word;&quot;&gt;
Đều có những phiên bản được cập nhật từ GitHub.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; word-wrap: break-word;&quot;&gt;
Mình tải về và sau đó Up lên lại server thông qua WinSCP. (Thật ra thì dùng lệnh Widget cũng được – chỗ này mình muốn nói lại những gì mình làm chứ thật sự cũng không quan trọng lắm).&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; word-wrap: break-word;&quot;&gt;
Link Tải tại đây:&amp;nbsp;https://github.com/Alek-ON/sypex-dumper2.0.11-for-php7.0&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; word-wrap: break-word;&quot;&gt;
Và các bạn ạ, mọi thứ hoạt động rất là tốt.&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px;&quot;&gt;Giờ mình đi sao lưu cơ sở dữ liệu và toàn bộ dữ liệu quan trọng đây. Chúc các bạn một ngày thật vui vẻ. Hy vọng những bạn nào đã gặp lỗi sẽ biết cách mà khắc phục.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2018/08/chuyen-len-php7-70-khong-dung-sypex-sql.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-9058740858711629004</guid><pubDate>Sat, 12 May 2018 16:51:00 +0000</pubDate><atom:updated>2018-05-12T23:51:55.966+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">MySQL</category><category domain="http://www.blogger.com/atom/ns#">php</category><category domain="http://www.blogger.com/atom/ns#">php co ban</category><title>Sử dụng mã hóa UTF-8 với PHP và MySQL</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #0b1a33; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; letter-spacing: -0.003em; line-height: 1.65; margin-bottom: 0.5em; word-break: break-word; word-wrap: break-word;&quot;&gt;
Đối với một lập trình viên PHP hay MySQL, mọi thứ có vẻ khá dễ dàng và thoải mái khi làm việc với dữ liệu chỉ gồm các ký tự tiếng Anh. Cho đến khi bạn vướng vào sự rắc rối của mã hóa UTF-8 trong xử lý ngôn ngữ không phải tiếng Anh. Nói sơ lược về mã hóa UTF-8 thì đây là một kiểu mã hóa ký tự của tập ký tự Unicode. Nó được thiết kế để tương thích ngược với mã hóa ASCII và tránh những nhược điểm của UTF-16 và UTF-32. UTF-8 trở thành kiểu mã hóa phổ biến và chiếm ưu thế khi hơn một nửa số trang web hiện tại sử dụng kiểu mã hóa này. Trong bài viết này, sẽ có 3 hướng dẫn chính được trình bày để có thể sử dụng mã hóa UTF-8 trong PHP và MySQL:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Thay đổi trong file config&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;php.ini&lt;/code&gt;&amp;nbsp;và PHP code.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Thay đổi trong file config&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;my.ini&lt;/code&gt;&amp;nbsp;và những vấn đề liên quan khác đến MySQL.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Thay đổi dữ liệu trong CSDL MySQL sử dụng mã hóa latin1 thành mã hóa UTF-8.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;_php-va-ma-hoa-utf-8-0&quot; style=&quot;background-color: white; border-bottom: 1px solid rgb(219, 227, 232); box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 1.95rem; line-height: 1.1; margin: 1.7rem 0px 0.6rem; padding-bottom: 0.5rem;&quot;&gt;
PHP và mã hóa UTF-8&lt;/h1&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #0b1a33; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; letter-spacing: -0.003em; line-height: 1.65; margin-bottom: 0.5em; word-break: break-word; word-wrap: break-word;&quot;&gt;
Để sử dụng UTF-8 là kiểu mã hóa ký tự mặc định, thay đổi ở file config&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;php.ini&lt;/code&gt;&amp;nbsp;như sau:&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;default_charset = &quot;utf-8&quot;;&lt;/code&gt;&amp;nbsp;Thay đổi trong PHP code:&lt;/div&gt;
&lt;h3 id=&quot;_o-header-1&quot; style=&quot;background-color: white; border-bottom: 1px solid rgb(219, 227, 232); box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 1.45rem; line-height: 1.1; margin: 1.7rem 0px 0.6rem; padding-bottom: 0.5rem;&quot;&gt;
Ở header:&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #0b1a33; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; letter-spacing: -0.003em; line-height: 1.65; margin-bottom: 0.5em; word-break: break-word; word-wrap: break-word;&quot;&gt;
&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;header(&#39;Content-Type: text/html; charset=utf-8&#39;);&lt;/code&gt;&lt;/div&gt;
&lt;h3 id=&quot;_trong-file-xml-2&quot; style=&quot;background-color: white; border-bottom: 1px solid rgb(219, 227, 232); box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 1.45rem; line-height: 1.1; margin: 1.7rem 0px 0.6rem; padding-bottom: 0.5rem;&quot;&gt;
Trong file XML:&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #0b1a33; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; letter-spacing: -0.003em; line-height: 1.65; margin-bottom: 0.5em; word-break: break-word; word-wrap: break-word;&quot;&gt;
&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/code&gt;&amp;nbsp;Tuy nhiên, không phải tất cả ký tự UTF-8 đều được chấp nhận ở trong XML, vì vậy cần loại bỏ những ký tự này. Một hàm hữu dụng sau đây có thể giải quyết vấn đề trên:&lt;/div&gt;
&lt;pre style=&quot;background-color: white; box-sizing: inherit; color: #292b2c; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1rem; overflow: auto;&quot;&gt;&lt;code class=&quot;language-php&quot; style=&quot;background-color: #282c34; border-radius: 3px; box-sizing: inherit; color: white; display: block; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: inherit; overflow-x: auto; padding: 1rem; position: relative;&quot;&gt; &lt;span class=&quot;hljs-function&quot; style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: inherit; color: #61aeee;&quot;&gt;utf8_for_xml&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;box-sizing: inherit;&quot;&gt;($string)&lt;/span&gt;
  &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;return&lt;/span&gt; preg_replace(&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&#39;/[^\x{0009}\x{000a}\x{000d}\x{0020}-\x{D7FF}\x{E000}-\x{FFFD}]+/u&#39;&lt;/span&gt;,
                        &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&#39; &#39;&lt;/span&gt;, $string);
  }
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;_trong-html-3&quot; style=&quot;background-color: white; border-bottom: 1px solid rgb(219, 227, 232); box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 1.45rem; line-height: 1.1; margin: 1.7rem 0px 0.6rem; padding-bottom: 0.5rem;&quot;&gt;
Trong HTML:&lt;/h3&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;HTML content:&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;HTML form:&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;&amp;lt;form accept-charset=&quot;utf-8&quot;&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;_chi-dinh-utf-8-trong-ham-hmlspecialchars-4&quot; style=&quot;background-color: white; border-bottom: 1px solid rgb(219, 227, 232); box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 1.45rem; line-height: 1.1; margin: 1.7rem 0px 0.6rem; padding-bottom: 0.5rem;&quot;&gt;
Chỉ định UTF-8 trong hàm&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 20.88px; padding: 0.2rem 0.4rem;&quot;&gt;hmlspecialchars&lt;/code&gt;:&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #0b1a33; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; letter-spacing: -0.003em; line-height: 1.65; margin-bottom: 0.5em; word-break: break-word; word-wrap: break-word;&quot;&gt;
&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;htmlspecialchars($str, ENT_NOQUOTES, &quot;UTF-8&quot;)&lt;/code&gt;&lt;/div&gt;
&lt;h3 id=&quot;_khi-ket-noi-voi-mysql-5&quot; style=&quot;background-color: white; border-bottom: 1px solid rgb(219, 227, 232); box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 1.45rem; line-height: 1.1; margin: 1.7rem 0px 0.6rem; padding-bottom: 0.5rem;&quot;&gt;
Khi kết nối với MySQL:&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #0b1a33; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; letter-spacing: -0.003em; line-height: 1.65; margin-bottom: 0.5em; word-break: break-word; word-wrap: break-word;&quot;&gt;
Sử dụng hàm&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;mysql_set_charset&lt;/code&gt;:&lt;/div&gt;
&lt;pre style=&quot;background-color: white; box-sizing: inherit; color: #292b2c; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1rem; overflow: auto;&quot;&gt;&lt;code class=&quot;language-php&quot; style=&quot;background-color: #282c34; border-radius: 3px; box-sizing: inherit; color: white; display: block; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: inherit; overflow-x: auto; padding: 1rem; position: relative;&quot;&gt; $link = mysql_connect(&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&#39;localhost&#39;&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&#39;user&#39;&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&#39;password&#39;&lt;/span&gt;);
 mysql_set_charset(&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&#39;utf8&#39;&lt;/span&gt;, $link);
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #0b1a33; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; letter-spacing: -0.003em; line-height: 1.65; margin-bottom: 0.5em; word-break: break-word; word-wrap: break-word;&quot;&gt;
Từ PHP 5.5.0, hàm&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;mysql_set_charset&lt;/code&gt;&amp;nbsp;được thay thế bởi&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;mysql::set_charset&lt;/code&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: white; box-sizing: inherit; color: #292b2c; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1rem; overflow: auto;&quot;&gt;&lt;code class=&quot;language-php&quot; style=&quot;background-color: #282c34; border-radius: 3px; box-sizing: inherit; color: white; display: block; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: inherit; overflow-x: auto; padding: 1rem; position: relative;&quot;&gt;$mysqli = &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;new&lt;/span&gt; mysqli(&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&quot;localhost&quot;&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&quot;my_user&quot;&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&quot;my_password&quot;&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&quot;test&quot;&lt;/span&gt;);
    
  &lt;span class=&quot;hljs-comment&quot; style=&quot;box-sizing: inherit; color: #5c6370; font-style: italic;&quot;&gt;/* check connection */&lt;/span&gt;
  &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;if&lt;/span&gt; (mysqli_connect_errno()) {
      printf(&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&quot;Connect failed: %s\n&quot;&lt;/span&gt;, mysqli_connect_error());
      &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;exit&lt;/span&gt;();
  }
    
  &lt;span class=&quot;hljs-comment&quot; style=&quot;box-sizing: inherit; color: #5c6370; font-style: italic;&quot;&gt;/* change character set to utf8 */&lt;/span&gt;
  &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;if&lt;/span&gt; (!$mysqli-&amp;gt;set_charset(&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&quot;utf8&quot;&lt;/span&gt;)) {
      printf(&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&quot;Error loading character set utf8: %s\n&quot;&lt;/span&gt;, $mysqli-&amp;gt;error);
  } &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;else&lt;/span&gt; {
      printf(&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #98c379;&quot;&gt;&quot;Current character set: %s\n&quot;&lt;/span&gt;, $mysqli-&amp;gt;character_set_name());
  }
    
  $mysqli-&amp;gt;close();
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;_su-dung-ham-xu-ly-chuoi-tuong-thich-voi-utf-8-6&quot; style=&quot;background-color: white; border-bottom: 1px solid rgb(219, 227, 232); box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 1.45rem; line-height: 1.1; margin: 1.7rem 0px 0.6rem; padding-bottom: 0.5rem;&quot;&gt;
Sử dụng hàm xử lý chuỗi tương thích với UTF-8:&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #0b1a33; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; letter-spacing: -0.003em; line-height: 1.65; margin-bottom: 0.5em; word-break: break-word; word-wrap: break-word;&quot;&gt;
Có nhiều hàm sẽ lỗi hoặc xử lý sai khi một ký tự cần nhiều hơn 1 byte (như UTF-8). Ví dụ hàm&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;strlen&lt;/code&gt;&amp;nbsp;sẽ trả về số lượng byte chứ không phải số lượng ký tự. Để giải quyết việc này có 2 tùy chọn:&lt;/div&gt;
&lt;ol style=&quot;background-color: white; box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Sử dụng các hàm&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;iconv&lt;/code&gt;&amp;nbsp;(ví dụ: `iconv_strlen,…). Dù vậy, bản thân chuỗi ký tự vẫn cần phải đảm bảo được mã hóa đúng.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Extension&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;mbstring&lt;/code&gt;: extension cung cấp một tập đầy đủ các hàm cho việc xử lý mã hóa sử dụng nhiều byte (multibyte)&lt;/li&gt;
&lt;/ol&gt;
&lt;h1 id=&quot;_mysql-voi-ma-hoa-utf-8-7&quot; style=&quot;background-color: white; border-bottom: 1px solid rgb(219, 227, 232); box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 1.95rem; line-height: 1.1; margin: 1.7rem 0px 0.6rem; padding-bottom: 0.5rem;&quot;&gt;
MySQL với mã hóa UTF-8&lt;/h1&gt;
&lt;h3 id=&quot;_thay-doi-trong-file-config-myini-8&quot; style=&quot;background-color: white; border-bottom: 1px solid rgb(219, 227, 232); box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 1.45rem; line-height: 1.1; margin: 1.7rem 0px 0.6rem; padding-bottom: 0.5rem;&quot;&gt;
Thay đổi trong file config&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 20.88px; padding: 0.2rem 0.4rem;&quot;&gt;my.ini&lt;/code&gt;:&lt;/h3&gt;
&lt;pre style=&quot;background-color: white; box-sizing: inherit; color: #292b2c; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1rem; overflow: auto;&quot;&gt;&lt;code style=&quot;background-color: #282c34; border-radius: 3px; box-sizing: inherit; color: white; display: block; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: inherit; overflow-x: auto; padding: 1rem; position: relative;&quot;&gt; [client]
  default-character-&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;set&lt;/span&gt;=UTF&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: inherit; color: #d19a66;&quot;&gt;-8&lt;/span&gt;
    
  [mysql]
  &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;default&lt;/span&gt;-&lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: inherit; color: #e6c07b;&quot;&gt;character&lt;/span&gt;-&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;set&lt;/span&gt;=UTF&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: inherit; color: #d19a66;&quot;&gt;-8&lt;/span&gt;
    
  [mysqld]
  &lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: inherit; color: #e6c07b;&quot;&gt;character&lt;/span&gt;-&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;set&lt;/span&gt;-&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;client&lt;/span&gt;-handshake = &lt;span class=&quot;hljs-literal&quot; style=&quot;box-sizing: inherit; color: #56b6c2;&quot;&gt;false&lt;/span&gt; #&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;force&lt;/span&gt; &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;encoding&lt;/span&gt; &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;to&lt;/span&gt; uft8
  &lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: inherit; color: #e6c07b;&quot;&gt;character&lt;/span&gt;-&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;set&lt;/span&gt;-&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;server&lt;/span&gt;=UTF&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: inherit; color: #d19a66;&quot;&gt;-8&lt;/span&gt;
  &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;collation&lt;/span&gt;-&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;server&lt;/span&gt;=UTF&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: inherit; color: #d19a66;&quot;&gt;-8&lt;/span&gt;_general_ci
    
  [mysqld_safe]
  &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;default&lt;/span&gt;-&lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: inherit; color: #e6c07b;&quot;&gt;character&lt;/span&gt;-&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;set&lt;/span&gt;=UTF&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: inherit; color: #d19a66;&quot;&gt;-8&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;MySQL UTF-8 thực sự chỉ là một phần của tập ký tự UTF-8 khi chỉ sử dụng tối đa 3 bytes trong khi mã hóa UTF-8 yêu cầu 4 bytes. Do đó, một số ký tự không được hỗ trợ trong MySQL UTF-8. Kể từ MySQL 5.5.3, điều này có thể được giải quyết với tập ký tự&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;utf8mb4&lt;/code&gt;.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Trong trường hợp không cài đặt mã hóa khi kết nối với MySQL, thì sau khi kết nối xong, có thể sử dụng lệnh/truy vấn sau:&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;set names UTF-8;&lt;/code&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Khi xác định kích cỡ của các trường kiểu varchar, đừng quên UTF-8 yêu cầu 4 bytes trên mỗi ký tự.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;_chuyen-doi-du-lieu-su-dung-ma-hoa-latin1-sang-utf-8-9&quot; style=&quot;background-color: white; border-bottom: 1px solid rgb(219, 227, 232); box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 1.95rem; line-height: 1.1; margin: 1.7rem 0px 0.6rem; padding-bottom: 0.5rem;&quot;&gt;
Chuyển đổi dữ liệu sử dụng mã hóa latin1 sang UTF-8&lt;/h1&gt;
&lt;ol style=&quot;background-color: white; box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Thiết lập cài đặt ở file config&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;my.ini&lt;/code&gt;&amp;nbsp;như hướng dẫn thứ 2.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Thực hiện câu lệnh sau:&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;ALTER SCHEMA&lt;/code&gt;your-db-name&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;DEFAULT CHARACTER SET UTF-8;&lt;/code&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Xác nhận mọi thứ đã được cài đặt về UTF-8&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;mysql&amp;gt; show variables like &#39;char%&#39;;&lt;/code&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Tạo file dump cho việc chuyển đổi:&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;mysqldump -u USERNAME -pDB_PASSWORD --opt --skip-set-charset --default-character-set=latin1 --skip-extended-insert DATABASENAME --tables TABLENAME &amp;gt; DUMP_FILE_TABLE.sql&lt;/code&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Thay thế charset trong file dump từ latin1 sang UTF-8 Ví dụ sử dụng Perl:&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;perl -i -pe &#39;s/DEFAULT CHARSET=latin1/DEFAULT CHARSET=UTF-8/&#39; DUMP_FILE_TABLE.sql&lt;/code&gt;&amp;nbsp;Đối với người dùng Windows: Việc chuyển đổi có thể thực hiện bằng WordPad sử dụng chức năng find-and-replace.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Kể từ giờ, việc thay đổi sẽ được thực hiện trên CSDL nên đảm bảo backup dữ liệu trước khi thực hiện&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;mysql&amp;gt; source &quot;DUMP_FILE_TABLE.sql&quot;;&lt;/code&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Tìm kiếm những bản ghi có thể bị chuyển đổi sai và sửa chúng (ví dụ những ký tự được mã hóa 2 lần). Vì những ký tự không phải ASCII là multi-byte (sử dụng nhiều hơn 1 byte/ký tự) nên có thể tìm chúng bằng cách so sánh số byte và số lượng ký tự.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Kiểm tra có ký tự multi-byte hay không (nếu truy vấn sau trả về 0 thì không có ký tự multi-byte và có thể bỏ qua các bước tiếp theo)&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;mysql&amp;gt; select count(*) from MY_TABLE where LENGTH(MY_FIELD) != CHAR_LENGTH(MY_FIELD);&lt;/code&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Copy những hàng có ký tự multi-byte sang bảng tạm:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: white; box-sizing: inherit; color: #292b2c; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1rem; overflow: auto;&quot;&gt;&lt;code class=&quot;language-mysql&quot; style=&quot;background-color: #282c34; border-radius: 3px; box-sizing: inherit; color: white; display: block; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: inherit; overflow-x: auto; padding: 1rem; position: relative;&quot;&gt; &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;create&lt;/span&gt; &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;table&lt;/span&gt; temptable (
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;select&lt;/span&gt; * &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;from&lt;/span&gt; MY_TABLE &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;where&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;LENGTH&lt;/span&gt;(MY_FIELD) != &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;CHAR_LENGTH&lt;/span&gt;(MY_FIELD));
&lt;/code&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Chuyển đổi ký tự bị mã hóa UTF-8 2 lần về dạng UTF-8 chuẩn. Vì MySQL đã tự động chuyển đổi dữ liệu sang UTF-8 một lần nữa trên dữ liệu UTF-8 nên cần một “thủ thuật” nhỏ để tránh việc chuyển đổi này. Đầu tiên, chuyển đổi kiểu mã hóa về latin1, do đó mã hóa 2 lần sẽ bị loại bỏ :&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;alter table temptable modify temptable.ArtistName varchar(128) character set latin1;&lt;/code&gt;&amp;nbsp;Lưu ý: Cần đặt đúng kiểu dữ liệu cũ. Như ở ví dụ trên là&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;vachar(128)&lt;/code&gt;&amp;nbsp;Vấn đề bây giờ là nếu cài đặt cột hiện tại về mã hóa UTF-8, MySQL sẽ chuyển đổi từ latin1 về UTF-8. Để tránh việc này, chúng ta thay đổi kiểu dữ liệu của cột về&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;blob&lt;/code&gt;&amp;nbsp;rồi sau đó mới cài đặt UTF-8. Điều này lợi dụng từ việc MySQL không chuyển đổi kiểu mã hóa của một&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;blob&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: white; box-sizing: inherit; color: #292b2c; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1rem; overflow: auto;&quot;&gt;&lt;code style=&quot;background-color: #282c34; border-radius: 3px; box-sizing: inherit; color: white; display: block; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: inherit; overflow-x: auto; padding: 1rem; position: relative;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;alter&lt;/span&gt; &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;table&lt;/span&gt; temptable &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;modify&lt;/span&gt; temptable.ArtistName &lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: inherit; color: #e6c07b;&quot;&gt;blob&lt;/span&gt;;
&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;alter&lt;/span&gt; &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;table&lt;/span&gt; temptable &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;modify&lt;/span&gt; temptable.ArtistName &lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: inherit; color: #e6c07b;&quot;&gt;varchar&lt;/span&gt;(&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: inherit; color: #d19a66;&quot;&gt;128&lt;/span&gt;) &lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: inherit; color: #e6c07b;&quot;&gt;character&lt;/span&gt; &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: inherit; color: #c678dd;&quot;&gt;set&lt;/span&gt; UTF&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: inherit; color: #d19a66;&quot;&gt;-8&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Loại bỏ hàng chỉ có ký tự single-byte (sử dụng một byte) ra khỏi bảng tạm:&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;delete from temptable where LENGTH(MY_FIELD) = CHAR_LENGTH(MY_FIELD);&lt;/code&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Thay thế dữ liệu vào bảng chính&amp;nbsp;&lt;code style=&quot;background-color: #f6f6f7; border-radius: 0.25rem; box-sizing: inherit; color: #bd4147; font-family: Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 0.2rem 0.4rem;&quot;&gt;replace into MY_TABLE (select * from temptable);&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&quot;8&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; font-size: 1em; word-wrap: break-word;&quot;&gt;Kiểm tra dữ liệu còn lại, nếu cần thì thực hiện lại từ bước 7.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&quot;_loi-ket-10&quot; style=&quot;background-color: white; border-bottom: 1px solid rgb(219, 227, 232); box-sizing: inherit; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 1.45rem; line-height: 1.1; margin: 1.7rem 0px 0.6rem; padding-bottom: 0.5rem;&quot;&gt;
Lời kết&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #0b1a33; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; letter-spacing: -0.003em; line-height: 1.65; margin-bottom: 0.5em; word-break: break-word; word-wrap: break-word;&quot;&gt;
Mã hóa dữ liệu đòi hỏi sự cẩn trọng và tỉ mỉ. Nếu hiểu rõ về nó, lập trình viên có thể tiết kiệm một khoảng thời gian và công sức đáng kể khi đối mặt với những vấn đề về dữ liệu. Bài viết này như một lần nữa khẳng định tầm quan trọng của việc cân nhắc khi định nghĩa charset trong dự án cũng như môi trường phát triển ngay từ ban đầu.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #0b1a33; font-family: Roboto, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; letter-spacing: -0.003em; line-height: 1.65; margin-bottom: 0.5em; word-break: break-word; word-wrap: break-word;&quot;&gt;
&lt;em style=&quot;box-sizing: inherit;&quot;&gt;Referrence:&lt;/em&gt;&amp;nbsp;https://www.toptal.com/php/a-utf-8-primer-for-php-and-mysql&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2018/05/su-dung-ma-hoa-utf-8-voi-php-va-mysql.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-6487769244292916211</guid><pubDate>Sun, 18 Feb 2018 09:28:00 +0000</pubDate><atom:updated>2018-02-18T16:28:04.694+07:00</atom:updated><title>TÔI ĐẦU TƯ: Tôi bắt đầu bước vào thị trường chứng khoán như thế nào</title><description>&lt;div dir=&quot;auto&quot;&gt;TÔI ĐẦU TƯ: Tôi bắt đầu bước vào thị trường chứng khoán như thế nào?&lt;div dir=&quot;auto&quot;&gt;&lt;br&gt;CHIA SẺ&lt;br&gt;Với tính cách chắc chắn, sợ rủi ro, tôi ban đầu đã xu hướng muốn đầu tư vào một ngành nào đó có tên tuổi hiện nay.&lt;br&gt;&lt;br&gt;￼&lt;br&gt;Ai cũng có điểm khởi đầu. Một trăm nghìn, một triệu đồng hay tiền tỷ thì cũng là đầu tư, cũng là khởi điểm, cũng là khó khăn.&lt;br&gt;&lt;br&gt;Xin chào tất cả mọi người!&lt;br&gt;&lt;br&gt;Tôi xin kể về hành trình chập chững bước chân vào thị trường chứng khoán của tôi. Với những kinh nghiệm thực tế mà tôi đã thực sự trải qua. Mặc dù không có nhiều kinh nghiệm như mọi người đăng bài ở đây, nhưng tôi cũng đúc rút ra được rất nhiều bài học quý báu cho chính bản thân mình.&lt;br&gt;&lt;br&gt;Với địa vị là một sinh viên, nguồn vốn hạn chế nên việc đầu tư ban đầu là rất khó khăn.&lt;br&gt;&lt;br&gt;Kinh nghiệm thứ nhất: Việc đầu tư lựa chọn cổ phiếu nào phụ thuộc rất nhiều vào tính cách của nhà đầu tư.&lt;br&gt;&lt;br&gt;Vì vậy tôi, với tính cách chắc chắn, sợ rủi ro do vậy mà tôi ban đầu đã xu hướng muốn đầu tư vào một ngành nào đó có tên tuổi hiện nay. Và tôi còn chịu ảnh hưởng của ngành mà mình đang học. Do vậy nên tôi đã quyết định lựa chọn lĩnh vực Ngân hàng và lựa chọn đầu tư vào cổ phiếu CTG.&lt;br&gt;&lt;br&gt;Kinh nghiệm thứ 2: Khi đầu tư nên xem xét kĩ về các chỉ số của công ty đã quyết định đầu tư.&lt;br&gt;&lt;br&gt;Theo tôi đó là nhà đầu tư ngại rủi ro trong ngắn hạn nên xem xét về chỉ số P/E và chỉ số EPS. Chỉ số EPS thì nên cao( càng cao càng tốt) còn chỉ số P/E thì nên &amp;lt;10.&lt;br&gt;&lt;br&gt;Kinh nghiệm thứ 3: Nên xem mức giá cổ phiếu mình chuẩn bị đầu tư có hợp lý không? Giá đang tăng hay đang giảm?&lt;br&gt;&lt;br&gt;Đây là một kinh nghiệm mà tôi thấy quan trọng khi đầu tư. Đó là tôi khi mới đầu tư vào chứng khoán, với tâm lý &quot;mình mua sao chẳng được&quot;, nên tôi không quan tâm nhiều đến mức giá. Tôi không muốn cạnh tranh nên đặt mình vào tình thế lúc nào cũng có thể &quot;mua đuổi&quot;. Đó là một sai lầm.&lt;br&gt;&lt;br&gt;Sai lầm thứ 2 là tôi không xem giá đang tăng hay đang giảm và đã bị đầu tư vào đúng lúc giá đang lên cao nhất. Đó là khi tôi đầu tư vào cổ phiếu IDI. Đến những phiên sau tôi xem thì nhận ra một điều rất hay là cổ phiếu này có một &quot;đặc tính&quot; – đó là một khi đã khớp lệnh ở dưới thì tất cả những lệnh sau cũng chỉ khớp ở dưới, nhiều lúc khiến tôi cảm thấy hơi &quot;ức chế&quot;. Ngoài các cổ phiếu mang tính chất đầu tư như FLC, HAI, … thì chưa bao giờ tôi thấy với 500.000 cổ phiếu được khớp mà giá vẫn đứng nguyên tại chỗ. Gần đây may mà có thông tin về ký hiệp định TPP nên giá cổ phiếu này cũng có tăng được đôi chút.&lt;br&gt;&lt;br&gt;Còn khi đầu tư chúng ta cũng nên có sự so sánh với các doanh nghiệp cùng ngành. Đó là khi tôi đầu tư vào CTG, nhiều lúc cũng cảm thấy hơi bực. Đó là một thời cổ phiếu này dựa quá nhiều vào khối ngoại. Có phiên khối ngoại không mua vào là cả phiên sang, cổ phiếu này chỉ khớp được khoảng chưa đến 100.000 cổ. Ngoài ra cổ phiếu này còn khác BID ở chỗ, đó là mức đặt lệnh lúc nào cũng tầm trên 100.000 cổ - thành mức &quot;chặn trên, chặn dưới&quot; nên cổ phiếu này đã &quot;ít sóng&quot; rồi lại càng không thể chạy được. Đó là lý do vì sao tôi lại thích đầu tư vào BID hơn.&lt;br&gt;&lt;br&gt;Kinh ngiệm thứ tư: Đó chính là lưu ý thông tin.&lt;br&gt;&lt;br&gt;Hiện nay gần đây nhất đó chính là các thông tin như ký hiệp định TPP , nới room cho khối ngoại, chủ tịch JVC bị bắt, giảm thời gian giao dịch T của CTCK, … Các nhà đầu tư nên lưu ý các thông tin để có thể lựa chọn danh mục đầu tư cho hợp lý.&lt;br&gt;&lt;br&gt;Trên đây là những kinh nghiệm đầu tư tâm huyết nhất của tôi muốn chia sẻ cho những người mới bước vào &quot;nghề&quot;.&lt;br&gt;&lt;br&gt;Vũ Văn Phong&lt;br&gt;Theo Trí Thức Trẻ￼&lt;/div&gt;&lt;/div&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2018/02/toi-au-tu-toi-bat-au-buoc-vao-thi.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-6254656623320706954</guid><pubDate>Fri, 17 Nov 2017 16:03:00 +0000</pubDate><atom:updated>2017-11-17T23:03:18.352+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">word-excel</category><title>Dùng Macro 4 để lấy dữ liệu từ 1 file đang đóng</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Loại bài toán này đã từng được nói rất nhiều lần trên diễn đàn rồi. Hầu hết người ta dùng 2 cách:&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px; margin-top: 0px;&quot; /&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&lt;span style=&quot;text-decoration-line: underline;&quot;&gt;Cách 1&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;: Mở file để lấy dữ liệu rồi đóng file lại&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Cách 2&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;: Dùng ADO (không thấy mở file nhưng vẫn có mở ngầm)&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Hôm nay xin giới thiệu với bạn 1 cách cực kỳ đơn giản (tự các bạn xây dựng). Bẳng cách dùng Macro 4, các bạn sẽ thấy giải thuật đơn giản đến không ngờ&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Tất cả bắt đầu bằng những thí nghiệm sau đây:&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Giả sử ta có file&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Source.xls&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;và file&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Main.xls&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;nằm cùng 1 thư mục&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- File&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;Source.xls&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;là file chứa nguồn dữ liệu&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Ta mở 2 file cùng lúc. Tại file&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Main&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;sheet1&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;, cell&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;A1&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;, tôi gõ dấu&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;=&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;, xong tôi dời con trỏ sang file&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Source.xls&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;rồi nhấp chọn cell A1&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Sau khi thực hiện xong ta được công thức&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;=[Source.xls]Sheet1!$A$1&lt;/b&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Đóng file&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Source.xls&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;, ta thấy công thức tại cell A1 của file&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Main.xls&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;đã biến đổi, có thêm đường dẩn tuyệt đối... đại khái thế này&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;bbCodeBlock bbCodePHP&quot; style=&quot;background-color: #fcfcff; border-radius: 5px; border: 1px solid rgb(215, 237, 252); color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px; margin: 1em 140px 1em 0px; overflow: auto; padding: 0px;&quot;&gt;
&lt;div class=&quot;type&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/form-button-white-25px.png&amp;quot;) center top repeat-x rgb(215, 237, 252); border-bottom: 1px solid rgb(165, 202, 228); border-top-left-radius: 4px; border-top-right-radius: 4px; color: #006666; font-family: &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 11px; margin: 0px; padding: 3px 8px;&quot;&gt;
PHP:&lt;/div&gt;
&lt;div class=&quot;code&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/category-23px-light.png&amp;quot;) center top repeat-x rgb(240, 247, 252); border-radius: 5px; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10pt; line-height: 1.24; margin: 0px; max-height: 500px; min-height: 30px; overflow: auto; padding: 10px; white-space: nowrap; word-wrap: normal;&quot;&gt;
&lt;code style=&quot;font-style: inherit; font-weight: inherit; line-height: 13.3333px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;C:\Documents&amp;nbsp;and&amp;nbsp;Settings\NHAV\Desktop\GetData_Test\[Source.xls]Sheet1&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;!&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;$A&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;$&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Giở ta bật chức năng&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;record macro&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;lên, chọn cell&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;A1&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;, bấm&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;F2&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;và&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Enter&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;... xong, tắt record macro và&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Alt + F11&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;để xem code, ta sẽ thấy code có dạng thế này:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;bbCodeBlock bbCodePHP&quot; style=&quot;background-color: #fcfcff; border-radius: 5px; border: 1px solid rgb(215, 237, 252); color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px; margin: 1em 140px 1em 0px; overflow: auto; padding: 0px;&quot;&gt;
&lt;div class=&quot;type&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/form-button-white-25px.png&amp;quot;) center top repeat-x rgb(215, 237, 252); border-bottom: 1px solid rgb(165, 202, 228); border-top-left-radius: 4px; border-top-right-radius: 4px; color: #006666; font-family: &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 11px; margin: 0px; padding: 3px 8px;&quot;&gt;
PHP:&lt;/div&gt;
&lt;div class=&quot;code&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/category-23px-light.png&amp;quot;) center top repeat-x rgb(240, 247, 252); border-radius: 5px; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10pt; line-height: 1.24; margin: 0px; max-height: 500px; min-height: 30px; overflow: auto; padding: 10px; white-space: nowrap; word-wrap: normal;&quot;&gt;
&lt;code style=&quot;font-style: inherit; font-weight: inherit; line-height: 13.3333px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Sub&amp;nbsp;Macro1&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;()&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;&lt;br /&gt;&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Macro&amp;nbsp;recorded&amp;nbsp;17&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;2010&amp;nbsp;by&amp;nbsp;Anh&amp;nbsp;Tu&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;n&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;&lt;br /&gt;&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Range&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;A1&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Select&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ActiveCell&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;FormulaR1C1&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;_&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;=&#39;C:\Documents&amp;nbsp;and&amp;nbsp;Settings\NHAV\Desktop\GetData_Test\[Source.xls]Sheet1&#39;!R1C1&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Range&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;A2&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Select&lt;br /&gt;End&amp;nbsp;Sub&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Chỉnh sửa code lại 1 tí:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;bbCodeBlock bbCodePHP&quot; style=&quot;background-color: #fcfcff; border-radius: 5px; border: 1px solid rgb(215, 237, 252); color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px; margin: 1em 140px 1em 0px; overflow: auto; padding: 0px;&quot;&gt;
&lt;div class=&quot;type&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/form-button-white-25px.png&amp;quot;) center top repeat-x rgb(215, 237, 252); border-bottom: 1px solid rgb(165, 202, 228); border-top-left-radius: 4px; border-top-right-radius: 4px; color: #006666; font-family: &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 11px; margin: 0px; padding: 3px 8px;&quot;&gt;
PHP:&lt;/div&gt;
&lt;div class=&quot;code&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/category-23px-light.png&amp;quot;) center top repeat-x rgb(240, 247, 252); border-radius: 5px; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10pt; line-height: 1.24; margin: 0px; max-height: 500px; min-height: 30px; overflow: auto; padding: 10px; white-space: nowrap; word-wrap: normal;&quot;&gt;
&lt;code style=&quot;font-style: inherit; font-weight: inherit; line-height: 13.3333px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Sub&amp;nbsp;Macro1&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Range&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;A1&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;=&#39;C:\Documents&amp;nbsp;and&amp;nbsp;Settings\NHAV\Desktop\GetData_Test\[Source.xls]Sheet1&#39;!R1C1&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;End&amp;nbsp;Sub&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Code này làm công việc gán công thức liên kết đến file&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Source.xls&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;vào cell A1 của file&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Main.xls&lt;/b&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Để chuyển công thức thành giá trị, ta có 2 cách&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&lt;span style=&quot;text-decoration-line: underline;&quot;&gt;Cách 1:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;bbCodeBlock bbCodePHP&quot; style=&quot;background-color: #fcfcff; border-radius: 5px; border: 1px solid rgb(215, 237, 252); color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px; margin: 1em 140px 1em 0px; overflow: auto; padding: 0px;&quot;&gt;
&lt;div class=&quot;type&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/form-button-white-25px.png&amp;quot;) center top repeat-x rgb(215, 237, 252); border-bottom: 1px solid rgb(165, 202, 228); border-top-left-radius: 4px; border-top-right-radius: 4px; color: #006666; font-family: &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 11px; margin: 0px; padding: 3px 8px;&quot;&gt;
PHP:&lt;/div&gt;
&lt;div class=&quot;code&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/category-23px-light.png&amp;quot;) center top repeat-x rgb(240, 247, 252); border-radius: 5px; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10pt; line-height: 1.24; margin: 0px; max-height: 500px; min-height: 30px; overflow: auto; padding: 10px; white-space: nowrap; word-wrap: normal;&quot;&gt;
&lt;code style=&quot;font-style: inherit; font-weight: inherit; line-height: 13.3333px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Sub&amp;nbsp;Macro1&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;With&amp;nbsp;Range&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;A1&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Value&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;=&#39;C:\Documents&amp;nbsp;and&amp;nbsp;Settings\NHAV\Desktop\GetData_Test\[Source.xls]Sheet1&#39;!R1C1&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Value&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Value&lt;br /&gt;&amp;nbsp;&amp;nbsp;End&amp;nbsp;With&lt;br /&gt;End&amp;nbsp;Sub&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&lt;span style=&quot;text-decoration-line: underline;&quot;&gt;Cách 2:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;bbCodeBlock bbCodePHP&quot; style=&quot;background-color: #fcfcff; border-radius: 5px; border: 1px solid rgb(215, 237, 252); color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px; margin: 1em 140px 1em 0px; overflow: auto; padding: 0px;&quot;&gt;
&lt;div class=&quot;type&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/form-button-white-25px.png&amp;quot;) center top repeat-x rgb(215, 237, 252); border-bottom: 1px solid rgb(165, 202, 228); border-top-left-radius: 4px; border-top-right-radius: 4px; color: #006666; font-family: &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 11px; margin: 0px; padding: 3px 8px;&quot;&gt;
PHP:&lt;/div&gt;
&lt;div class=&quot;code&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/category-23px-light.png&amp;quot;) center top repeat-x rgb(240, 247, 252); border-radius: 5px; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10pt; line-height: 1.24; margin: 0px; max-height: 500px; min-height: 30px; overflow: auto; padding: 10px; white-space: nowrap; word-wrap: normal;&quot;&gt;
&lt;code style=&quot;font-style: inherit; font-weight: inherit; line-height: 13.3333px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Sub&amp;nbsp;Macro1&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Range&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;A1&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;ExecuteExcel4Macro&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;&#39;C:\Documents&amp;nbsp;and&amp;nbsp;Settings\NHAV\Desktop\GetData_Test\[Source.xls]Sheet1&#39;!R1C1&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;End&amp;nbsp;Sub&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Và&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&lt;span style=&quot;text-decoration-line: underline;&quot;&gt;cách 2&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;này chính là&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;phương pháp dùng macro 4 để lấy dữ liệu ở file đang đóng&lt;/span&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;----------------------------------------------------------&lt;/span&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Hãy nghiên cứu chuổi&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&quot;&#39;C:\Documents and Settings\NHAV\Desktop\GetData_Test\[Source.xls]Sheet1&#39;!R1C1&quot;&lt;/b&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Ta thấy nó có cú pháp thế này:&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&quot;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&#39;&quot; &amp;amp; đường dẩn &amp;amp; &quot;[&quot; Tên file &amp;amp; &quot;]&quot; &amp;amp; Tên sheet &amp;amp; &quot;&#39;!&quot; &amp;amp; địa chỉ cell&lt;/b&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Vậy hãy xây dựng 1 code dựa trên phương pháp lấy dữ liệu này nhé&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;bbCodeBlock bbCodePHP&quot; style=&quot;background-color: #fcfcff; border-radius: 5px; border: 1px solid rgb(215, 237, 252); color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px; margin: 1em 140px 1em 0px; overflow: auto; padding: 0px;&quot;&gt;
&lt;div class=&quot;type&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/form-button-white-25px.png&amp;quot;) center top repeat-x rgb(215, 237, 252); border-bottom: 1px solid rgb(165, 202, 228); border-top-left-radius: 4px; border-top-right-radius: 4px; color: #006666; font-family: &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 11px; margin: 0px; padding: 3px 8px;&quot;&gt;
PHP:&lt;/div&gt;
&lt;div class=&quot;code&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/category-23px-light.png&amp;quot;) center top repeat-x rgb(240, 247, 252); border-radius: 5px; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10pt; line-height: 1.24; margin: 0px; max-height: 500px; min-height: 30px; overflow: auto; padding: 10px; white-space: nowrap; word-wrap: normal;&quot;&gt;
&lt;code style=&quot;font-style: inherit; font-weight: inherit; line-height: 13.3333px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;Function&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;GetData&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sFile&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sSheet&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sAddr&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Dim&amp;nbsp;pLink&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;iR&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Long&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;iC&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Long&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Arr&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;If&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Len&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Dir&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sFile&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;))&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Arr&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Range&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sAddr&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;pLink&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;&#39;&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;amp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Replace&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sFile&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Dir&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sFile&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;),&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;[&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;amp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Dir&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sFile&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&amp;nbsp;&amp;amp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;]&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&amp;nbsp;&amp;amp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sSheet&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;amp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;&#39;!&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;For&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;iR&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;1&amp;nbsp;To&amp;nbsp;Range&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sAddr&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Rows&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Count&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;For&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;iC&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;1&amp;nbsp;To&amp;nbsp;Range&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sAddr&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Columns&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Count&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Arr&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;iR&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;iC&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;ExecuteExcel4Macro&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;pLink&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;amp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Range&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sAddr&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Cells&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;iR&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;iC&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Address&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(,&amp;nbsp;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Next&amp;nbsp;iC&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Next&amp;nbsp;iR&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;GetData&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Arr&lt;br /&gt;&amp;nbsp;&amp;nbsp;End&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;If&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;End&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;Function&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Hàm đã có, giờ để lấy dữ liệu vùng&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;A1&lt;img alt=&quot;:D&quot; class=&quot;mceSmilieSprite mceSmilie8&quot; src=&quot;http://www.giaiphapexcel.com/diendan/styles/default/xenforo/clear.png&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/xenforo-smilies-sprite.png&amp;quot;) -20px 0px no-repeat; border: 0px; height: 18px; margin: 0px 1px; max-width: 100%; vertical-align: text-bottom; width: 18px;&quot; title=&quot;Big Grin    :D&quot; /&gt;12&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;tại&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;sheet1&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;của file&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;Source.xls&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;, ta viết thêm code này:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;bbCodeBlock bbCodePHP&quot; style=&quot;background-color: #fcfcff; border-radius: 5px; border: 1px solid rgb(215, 237, 252); color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px; margin: 1em 140px 1em 0px; overflow: auto; padding: 0px;&quot;&gt;
&lt;div class=&quot;type&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/form-button-white-25px.png&amp;quot;) center top repeat-x rgb(215, 237, 252); border-bottom: 1px solid rgb(165, 202, 228); border-top-left-radius: 4px; border-top-right-radius: 4px; color: #006666; font-family: &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 11px; margin: 0px; padding: 3px 8px;&quot;&gt;
PHP:&lt;/div&gt;
&lt;div class=&quot;code&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/category-23px-light.png&amp;quot;) center top repeat-x rgb(240, 247, 252); border-radius: 5px; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10pt; line-height: 1.24; margin: 0px; max-height: 500px; min-height: 30px; overflow: auto; padding: 10px; white-space: nowrap; word-wrap: normal;&quot;&gt;
&lt;code style=&quot;font-style: inherit; font-weight: inherit; line-height: 13.3333px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Sub&amp;nbsp;Test&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Dim&amp;nbsp;sFile&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sSheet&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sAddr&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;String&lt;br /&gt;&amp;nbsp;&amp;nbsp;sFile&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;ThisWorkbook&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Path&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;amp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;\Source.xls&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sSheet&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;Sheet1&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sAddr&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;A1:D100&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Range&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;A1:D12&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;GetData&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sFile&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sSheet&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sAddr&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;End&amp;nbsp;Sub&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;-----------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&lt;span style=&quot;text-decoration-line: underline;&quot;&gt;Ứng dụng mở rộng&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;: Nạp list cho ComboBox, với dữ liệu được lấy từ file đang đóng&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Giả sử ta có sẳn 1 ComboBox, tên&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;ComboBox1&lt;/b&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Dữ liệu cần lấy nằm ở vùng&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;H1:H10&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&amp;nbsp;của&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;sheet1&lt;/b&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;, file&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Source.xls&lt;/b&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Ta viết code sau:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;bbCodeBlock bbCodePHP&quot; style=&quot;background-color: #fcfcff; border-radius: 5px; border: 1px solid rgb(215, 237, 252); color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px; margin: 1em 140px 1em 0px; overflow: auto; padding: 0px;&quot;&gt;
&lt;div class=&quot;type&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/form-button-white-25px.png&amp;quot;) center top repeat-x rgb(215, 237, 252); border-bottom: 1px solid rgb(165, 202, 228); border-top-left-radius: 4px; border-top-right-radius: 4px; color: #006666; font-family: &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 11px; margin: 0px; padding: 3px 8px;&quot;&gt;
PHP:&lt;/div&gt;
&lt;div class=&quot;code&quot; style=&quot;background: url(&amp;quot;styles/default/xenforo/gradients/category-23px-light.png&amp;quot;) center top repeat-x rgb(240, 247, 252); border-radius: 5px; direction: ltr; font-family: Consolas, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10pt; line-height: 1.24; margin: 0px; max-height: 500px; min-height: 30px; overflow: auto; padding: 10px; white-space: nowrap; word-wrap: normal;&quot;&gt;
&lt;code style=&quot;font-style: inherit; font-weight: inherit; line-height: 13.3333px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Sub&amp;nbsp;AddList&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Dim&amp;nbsp;sFile&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sSheet&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sAddr&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;As&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;String&lt;br /&gt;&amp;nbsp;&amp;nbsp;sFile&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;ThisWorkbook&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Path&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;amp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;\Source.xls&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sSheet&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;Sheet1&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sAddr&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;H1:H10&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Sheet1&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;ComboBox1&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.List()&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;GetData&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sFile&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sSheet&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sAddr&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;End&amp;nbsp;Sub&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Sau khi chạy code, hãy bấm vào ComboBox xem thử&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;------------------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;b style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;&lt;span style=&quot;text-decoration-line: underline;&quot;&gt;Ưu điểm và nhược điểm:&lt;/span&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Ưu điểm của phương pháp dùng macro 4 này là code đơn giản, lại hoàn toàn không mở file tí nào (ngay cả ADO, tuy không thấy mở file nhưng thực chất nó cũng mở ngầm)&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Với ADO hoặc phương thức mở file trực tiếp, dù không biết tên sheet thì ít nhất ta cũng lấy được dữ liệu tại sheet đầu tiên&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Với phương pháp dùng Macro 4, bắt buộc phải biết trước tên sheet&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;- Còn ưu điểm hay nhược điểm gì nữa.. chúng ta cùng nghiên cứu thêm nhé&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;------------------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;Hãy tham khảo file đính kèm và cảm nhận nhé! Đơn giản không nào?&lt;/span&gt;&lt;br style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot; /&gt;&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14.6667px;&quot;&gt;------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fcfcff; color: #141414; font-family: Cambria, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif, &amp;quot;Trebuchet MS&amp;quot;, Helvetica, Arial, sans-serif; font-size: 12px;&quot;&gt;&lt;b&gt;&lt;u&gt;Nguồn: &lt;a href=&quot;http://www.giaiphapexcel.com/diendan/threads/d%C3%B9ng-macro-4-%C4%91%E1%BB%83-l%E1%BA%A5y-d%E1%BB%AF-li%E1%BB%87u-t%E1%BB%AB-1-file-%C4%91ang-%C4%91%C3%B3ng.39312/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;GPE&lt;/a&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2017/11/dung-macro-4-e-lay-du-lieu-tu-1-file.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-6545740071928535889</guid><pubDate>Mon, 02 Oct 2017 09:28:00 +0000</pubDate><atom:updated>2017-10-02T16:28:18.547+07:00</atom:updated><title></title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Làm việc với các file Excel là cực kì nhiều: từ viết xuất report báo cáo, nhập dữ liệu từ file Excel (ví dụ như cập nhật giá sản phẩm, cập nhật mã EMS cho các đơn hàng gửi bưu điện…) khiến cho việc làm việc với file Excel là vô cùng cần thiết và tôi thường sử dụng&lt;br /&gt;
&lt;h3&gt;
&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;PHPExcel&lt;/span&gt;.&lt;/h3&gt;
&lt;span id=&quot;more-5975&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Trong bài viết này tôi sẽ hướng dẫn mọi người làm việc với file Excel bằng ngôn ngữ PHP.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Mặc dù bạn hoàn toàn có thể tự mình&amp;nbsp;lập trình PHP&amp;nbsp;toàn bộ các thao tác với Excel nhưng tôi cho rằng việc này là không cần thiết và khá tốn thời gian, đôi khi là trình độ nữa. Cho nên, tôi khuyên các bạn sử dụng một bộ thư viện được xây dựng sẵn để làm việc với file Excel:&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;PHPExcel&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Bộ thư viện này khá đầy đủ và hỗ trợ nhiều định dạng Excel mà bạn thường xuyên sử dụng.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Các định dạng Import cho phép:&lt;/span&gt;&lt;/div&gt;
&lt;ol style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin: 0px 0px 2.6rem 4rem; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;Excel 2007 (SpreadsheetML)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;BIFF5 (Excel 5.0 / Excel 95)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;BIFF8 (Excel 97 and later)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;PHPExcel Serialized Spreadsheet&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;Symbolic Link (SYLK by Microsoft)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;CSV (Comma Separated Values)&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Và bạn có thể xuất dữ liệu ra các định dạng:&lt;/span&gt;&lt;/div&gt;
&lt;ol style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin: 0px 0px 2.6rem 4rem; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;Excel 2007 (SpreadsheetML)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;BIFF8 (Excel 97 and later)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;PHPExcel Serialized Spreadsheet&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;PDF&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;HTML&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;CSV (Comma Separated Values)&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Để cài đặt, bạn cần chắc chắn bạn sử dụng&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;PHP từ phiên bản 5.2 trở lên&lt;/span&gt;&amp;nbsp;và đã mở các extension&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;php_zip&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;php_xml&lt;/span&gt;&amp;nbsp;và&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;php_gd2&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Sau khi kiểm tra bạn download bộ thư viện này từ nguồn:&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  plain&quot; id=&quot;highlighter_959688&quot; style=&quot;background-color: rgb(27, 36, 38) !important; box-sizing: border-box; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 809px;&quot;&gt;
&lt;div class=&quot;toolbar&quot; style=&quot;background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 10px !important; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;a class=&quot;toolbar_item command_help help&quot; href=&quot;https://nhanweb.com/import-export-excel-voi-phpexcel.html#&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; transition: all 0.1s ease-in-out; vertical-align: baseline !important; width: auto !important;&quot;&gt;?&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 809px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 773px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;plain plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;a href=&quot;https://phpexcel.codeplex.com/&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-decoration-line: none; top: auto !important; transition: all 0.1s ease-in-out; vertical-align: baseline !important; width: auto !important;&quot;&gt;https://phpexcel.codeplex.com/&lt;/a&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Phần document trong nguồn có hướng dẫn đầy đủ cho bạn.&lt;/div&gt;
&lt;h2 style=&quot;box-sizing: border-box; color: #333333; font-family: Oswald, sans-serif; font-size: 3rem; font-weight: 400; line-height: 1.2; margin: 0px 0px 1.6rem; padding: 0px;&quot;&gt;
Làm việc với PHPExcel&lt;/h2&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Sau đây tôi sẽ hướng dẫn bạn một số thao tác và code cơ bản để làm việc với PHPExcel, từ những đoạn mã mẫu này bạn có thể phát triển dự án theo mong muốn của mình.&lt;/div&gt;
&lt;h3 style=&quot;box-sizing: border-box; color: #333333; font-family: Oswald, sans-serif; font-size: 2.4rem; font-weight: 400; line-height: 1.2; margin: 0px 0px 1.6rem; padding: 0px;&quot;&gt;
Tạo một spreadsheet&lt;/h3&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Sau khi download và giải nén, ngoài bộ thư viện bạn cũng sẽ có thêm một thư mục Test chứa một số file được lập trình sẵn cho bạn những ví dụ sinh động để bạn làm việc với PHPExcel dễ dàng hơn.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Chúng ta xem xét đoạn để tạo một speadshet:&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  php&quot; id=&quot;highlighter_762984&quot; style=&quot;background-color: rgb(27, 36, 38) !important; box-sizing: border-box; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 809px;&quot;&gt;
&lt;div class=&quot;toolbar&quot; style=&quot;background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 10px !important; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;a class=&quot;toolbar_item command_help help&quot; href=&quot;https://nhanweb.com/import-export-excel-voi-phpexcel.html#&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; transition: all 0.1s ease-in-out; vertical-align: baseline !important; width: auto !important;&quot;&gt;?&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 816px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
11&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 771px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php keyword&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(91, 161, 207) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;require_once&lt;/code&gt; &lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;PHPExcel.php&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objPHPExcel&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= &lt;/code&gt;&lt;code class=&quot;php keyword&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(91, 161, 207) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;new&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;PHPExcel();&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php comments&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(135, 138, 133) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;// Set properties&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objPHPExcel&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;getProperties()-&amp;gt;setCreator(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;NhanWeb&quot;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;)&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;setLastModifiedBy(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;Nguyễn Duy Nhân&quot;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;)&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;setTitle(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;Demo tạo Excel bằng PHPExcel&quot;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;)&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;setSubject(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;Demo tạo Excel bằng PHPExcel&quot;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;)&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;setDescription(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;Tạo file Excel bằng PHPExcel bởi Nguyễn Duy Nhân&quot;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;)&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;setKeywords(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;office 2007 openxml php&quot;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;)&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;setCategory(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;Demo&quot;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objPHPExcel&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;getActiveSheet()-&amp;gt;setTitle(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;NhanWeb&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Đoạn mã trên tương đối đơn giản: tạo ra một file Excel với các thông tin cơ bản như người tạo, người chỉnh sửa cuối cùng, tiêu đề… và sau đó chúng ta tạo một&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;ActiveSheet&lt;/em&gt;&amp;nbsp;với title là&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;NhanWeb&lt;/em&gt;.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Tiếp theo, trong ActiveSheet đang mở, chúng ta đặt một vào dòng dữ liệu vào các cột A1, B1 như sau:&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  php&quot; id=&quot;highlighter_489226&quot; style=&quot;background-color: rgb(27, 36, 38) !important; box-sizing: border-box; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 809px;&quot;&gt;
&lt;div class=&quot;toolbar&quot; style=&quot;background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 10px !important; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;a class=&quot;toolbar_item command_help help&quot; href=&quot;https://nhanweb.com/import-export-excel-voi-phpexcel.html#&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; transition: all 0.1s ease-in-out; vertical-align: baseline !important; width: auto !important;&quot;&gt;?&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 809px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
3&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 773px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objPHPExcel&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;setActiveSheetIndex(0)&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;setCellValue(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;A1&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;Hello&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;)&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;setCellValue(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;B1&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;world!&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Đoạn mã trên là tiến hành đặt dữ liệu vào một ô xác định (A1,B1), trường hợp chúng ta cần đặt nhiều dòng dữ liệu được trích xuất từ CSDL MySQL thì không thể dùng cách này được vì chúng ta không biết chính xác số dòng, số cột.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Lúc này chúng ta sử dụng method sau của&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;objPHPExcel&lt;/em&gt;:&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  php&quot; id=&quot;highlighter_621936&quot; style=&quot;background-color: rgb(27, 36, 38) !important; box-sizing: border-box; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 809px;&quot;&gt;
&lt;div class=&quot;toolbar&quot; style=&quot;background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 10px !important; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;a class=&quot;toolbar_item command_help help&quot; href=&quot;https://nhanweb.com/import-export-excel-voi-phpexcel.html#&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; transition: all 0.1s ease-in-out; vertical-align: baseline !important; width: auto !important;&quot;&gt;?&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 809px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 773px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;setCellValueByColumnAndRow(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$column&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$row&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$value&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;)&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; color: red;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Lưu ý: Dòng bắt đầu từ 1 và Cột bắt đầu từ 0. Nghĩa là nếu bạn muốn sử dụng cột A1 chúng ta sẽ có cặp giá trị $column, $row tương ứng là 0,1.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Cuối cùng, để lưu dữ liệu lại thành 1 file Excel chúng ta sử dụng&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;PHPExcel_IOFactory&lt;/em&gt;&amp;nbsp;như sau:&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  php&quot; id=&quot;highlighter_754922&quot; style=&quot;background-color: rgb(27, 36, 38) !important; box-sizing: border-box; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 809px;&quot;&gt;
&lt;div class=&quot;toolbar&quot; style=&quot;background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 10px !important; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;a class=&quot;toolbar_item command_help help&quot; href=&quot;https://nhanweb.com/import-export-excel-voi-phpexcel.html#&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; transition: all 0.1s ease-in-out; vertical-align: baseline !important; width: auto !important;&quot;&gt;?&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 809px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
5&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 773px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php keyword&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(91, 161, 207) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;require_once&lt;/code&gt; &lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;PHPExcel/IOFactory.php&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objWriter&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= PHPExcel_IOFactory::createWriter(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objPHPExcel&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;Excel2007&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php comments&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(135, 138, 133) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;// If you want to output e.g. a PDF file, simply do:&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php comments&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(135, 138, 133) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;//$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, &#39;PDF&#39;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objWriter&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;save(&#39;MyExcel.xslx);&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 style=&quot;box-sizing: border-box; color: #333333; font-family: Oswald, sans-serif; font-size: 2.4rem; font-weight: 400; line-height: 1.2; margin: 0px 0px 1.6rem; padding: 0px;&quot;&gt;
Đọc dữ liệu từ một spreadsheet&lt;/h3&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
PHPExcel có khả năng đọc các tệp tin Excel và trích xuất dữ liệu đó ra PHP để bạn có thể xử lý một cách dễ dàng. Chúng đọc được nhiều định dạng dữ liệu như tôi đã nói ở phần đầu.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Điều này rất tuyệt vời ! Ví dụ như bạn có thể tải lên một file Excel có sẵn từ máy tính của mình và tiến hành đọc dữ liệu từ file tải lên đó, nhập dữ liệu vào CSDL của MySQL hoặc xử lý dữ liệu đó bằng PHP.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Để đọc dữ liệu, bạn có thể làm như sau:&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  php&quot; id=&quot;highlighter_700112&quot; style=&quot;background-color: rgb(27, 36, 38) !important; box-sizing: border-box; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 809px;&quot;&gt;
&lt;div class=&quot;toolbar&quot; style=&quot;background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 10px !important; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;a class=&quot;toolbar_item command_help help&quot; href=&quot;https://nhanweb.com/import-export-excel-voi-phpexcel.html#&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; transition: all 0.1s ease-in-out; vertical-align: baseline !important; width: auto !important;&quot;&gt;?&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 809px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
11&lt;/div&gt;
&lt;div class=&quot;line number12 index11 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
12&lt;/div&gt;
&lt;div class=&quot;line number13 index12 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
13&lt;/div&gt;
&lt;div class=&quot;line number14 index13 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
14&lt;/div&gt;
&lt;div class=&quot;line number15 index14 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
15&lt;/div&gt;
&lt;div class=&quot;line number16 index15 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
16&lt;/div&gt;
&lt;div class=&quot;line number17 index16 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
17&lt;/div&gt;
&lt;div class=&quot;line number18 index17 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
18&lt;/div&gt;
&lt;div class=&quot;line number19 index18 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
19&lt;/div&gt;
&lt;div class=&quot;line number20 index19 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
20&lt;/div&gt;
&lt;div class=&quot;line number21 index20 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
21&lt;/div&gt;
&lt;div class=&quot;line number22 index21 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
22&lt;/div&gt;
&lt;div class=&quot;line number23 index22 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
23&lt;/div&gt;
&lt;div class=&quot;line number24 index23 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
24&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 764px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php keyword&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(91, 161, 207) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;require_once&lt;/code&gt; &lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;PHPExcel/IOFactory.php&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objPHPExcel&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= PHPExcel_IOFactory::load(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;MyExcel.xlsx&quot;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php keyword&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(91, 161, 207) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;foreach&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objPHPExcel&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;getWorksheetIterator() &lt;/code&gt;&lt;code class=&quot;php keyword&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(91, 161, 207) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;as&lt;/code&gt; &lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$worksheet&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;) {&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$worksheetTitle&lt;/code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$worksheet&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;getTitle();&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$highestRow&lt;/code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$worksheet&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;getHighestRow(); &lt;/code&gt;&lt;code class=&quot;php comments&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(135, 138, 133) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;// e.g. 10&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$highestColumn&lt;/code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$worksheet&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;getHighestColumn(); &lt;/code&gt;&lt;code class=&quot;php comments&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(135, 138, 133) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;// e.g &#39;F&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$highestColumnIndex&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= PHPExcel_Cell::columnIndexFromString(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$highestColumn&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$nrColumns&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= ord(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$highestColumn&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;) - 64;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;echo&lt;/code&gt; &lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;&amp;lt;br&amp;gt;The worksheet &quot;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;.&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$worksheetTitle&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;echo&lt;/code&gt; &lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$nrColumns&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;. &lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39; columns (A-&#39;&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;. &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$highestColumn&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;. &lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;) &#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;echo&lt;/code&gt; &lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39; and &#39;&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;. &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$highestRow&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;. &lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39; row.&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number12 index11 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;echo&lt;/code&gt; &lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;&amp;lt;br&amp;gt;Data: &amp;lt;table border=&quot;1&quot;&amp;gt;&amp;lt;tr&amp;gt;&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number13 index12 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php keyword&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(91, 161, 207) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;for&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$row&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= 1; &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$row&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;lt;= &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$highestRow&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;; ++ &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$row&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;) {&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number14 index13 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;echo&lt;/code&gt; &lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;&amp;lt;tr&amp;gt;&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number15 index14 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php keyword&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(91, 161, 207) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;for&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$col&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= 0; &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$col&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;lt; &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$highestColumnIndex&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;; ++ &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$col&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;) {&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number16 index15 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$cell&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$worksheet&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;getCellByColumnAndRow(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$col&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$row&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number17 index16 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$val&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$cell&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;getValue();&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number18 index17 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$dataType&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= PHPExcel_Cell_DataType::dataTypeForValue(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$val&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number19 index18 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;echo&lt;/code&gt; &lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;&amp;lt;td&amp;gt;&#39;&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;. &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$val&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;. &lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;&amp;lt;br&amp;gt;(Typ &#39;&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;. &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$dataType&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;. &lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;)&amp;lt;/td&amp;gt;&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number20 index19 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number21 index20 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;echo&lt;/code&gt; &lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;&amp;lt;/tr&amp;gt;&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number22 index21 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number23 index22 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #dddddd; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;echo&lt;/code&gt; &lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;&amp;lt;/table&amp;gt;&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number24 index23 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 style=&quot;box-sizing: border-box; color: #333333; font-family: Oswald, sans-serif; font-size: 2.4rem; font-weight: 400; line-height: 1.2; margin: 0px 0px 1.6rem; padding: 0px;&quot;&gt;
Định dạng file Excel khi xuất ra&lt;/h3&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Thông thường tôi không làm công việc định dạng dữ liệu nhưng có đôi lúc cần phải thực hiện nó như tạo ra các dòng tiêu đề có màu sắc và kích cỡ lớn hơn.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Trong trường hợp này tôi hay áp dụng một phương pháp đơn giản là định dạng sẵn một file Excel làm mẫu, sau đó tôi sẽ định dạng sẵn file này rồi đọc nó như một template, đưa dữ liệu vào và lưu lại.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Tôi cho rằng phương pháp này khá đơn giản và dễ thực hiện lại hiệu qua cực kì.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Nếu bạn có nhu cầu định dạng dữ liệu, bạn hãy thử áp dụng cách của tôi xem.&lt;/div&gt;
&lt;h3 style=&quot;box-sizing: border-box; color: #333333; font-family: Oswald, sans-serif; font-size: 2.4rem; font-weight: 400; line-height: 1.2; margin: 0px 0px 1.6rem; padding: 0px;&quot;&gt;
Chuyển định dạng file với PHPExcel&lt;/h3&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Không cần rườm rà, với PHPExcel, bạn chỉ cần 3 dòng mã để làm ba việc: đọc file -&amp;gt; tạo Writer -&amp;gt; Lưu xuống file mới.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Cụ thể như thế này:&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  php&quot; id=&quot;highlighter_190931&quot; style=&quot;background-color: rgb(27, 36, 38) !important; box-sizing: border-box; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 809px;&quot;&gt;
&lt;div class=&quot;toolbar&quot; style=&quot;background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 10px !important; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;a class=&quot;toolbar_item command_help help&quot; href=&quot;https://nhanweb.com/import-export-excel-voi-phpexcel.html#&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; transition: all 0.1s ease-in-out; vertical-align: baseline !important; width: auto !important;&quot;&gt;?&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 809px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
3&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 773px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objPHPExcel&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= PHPExcel_IOFactory::load(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;XMLTest.xml&quot;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objWriter&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= PHPExcel_IOFactory::createWriter(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objPHPExcel&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;Excel2007&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objWriter&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;save(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;covertedXml2Xlsx.xlsx&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 style=&quot;box-sizing: border-box; color: #333333; font-family: Oswald, sans-serif; font-size: 2.4rem; font-weight: 400; line-height: 1.2; margin: 0px 0px 1.6rem; padding: 0px;&quot;&gt;
Lưu file Excel xuống máy tính cá nhân&lt;/h3&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Nếu bạn không muốn lưu file Excel trên server và cung cấp cho người dùng một đường dẫn để download, bạn có thể chỉ định file được tải về ngay khi tạo bằng cách bổ sung một header trước khi save. Đây là cách tôi dùng để thực hiện chức năng đó:&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  php&quot; id=&quot;highlighter_608948&quot; style=&quot;background-color: rgb(27, 36, 38) !important; box-sizing: border-box; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 809px;&quot;&gt;
&lt;div class=&quot;toolbar&quot; style=&quot;background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 10px !important; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;a class=&quot;toolbar_item command_help help&quot; href=&quot;https://nhanweb.com/import-export-excel-voi-phpexcel.html#&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: white !important; direction: ltr !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; transition: all 0.1s ease-in-out; vertical-align: baseline !important; width: auto !important;&quot;&gt;?&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 860px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
6&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 824px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;header(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;header(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;Content-Disposition: attachment;filename=&quot;ten_file_se_duoc_tai_ve.xlsx&quot;&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;header(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;Cache-Control: max-age=0&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objWriter&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;= PHPExcel_IOFactory::createWriter(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objPHPExcel&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;Excel2007&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;php variable&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;$objWriter&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-&amp;gt;save(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;&lt;a href=&quot;php://output&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(92, 230, 56) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-decoration-line: none; top: auto !important; transition: all 0.1s ease-in-out; vertical-align: baseline !important; width: auto !important;&quot;&gt;php://output&lt;/a&gt;&#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;);&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2 style=&quot;box-sizing: border-box; color: #333333; font-family: Oswald, sans-serif; font-size: 3rem; font-weight: 400; line-height: 1.2; margin: 0px 0px 1.6rem; padding: 0px;&quot;&gt;
Hạn chế&lt;/h2&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Hạn chế lớn nhất của thư viện này theo tôi đó là không thể vẽ các đồ thị hoặc các biểu đồ. Tuy nhiên, tôi cho rằng thư viện này là một phương pháp tuyệt vời khi bạn làm việc với Excel bằng ngôn ngữ PHP.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 2.6rem; padding: 0px;&quot;&gt;
Tôi đã sử dụng nó và cảm thấy việc làm việc với Excel bằng ngôn ngữ PHP đơn giản hơn rất nhiều.&lt;/div&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2017/10/khoi-nghiep-voi-internet-lam-viec-voi.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-7253066727404626973</guid><pubDate>Mon, 02 Oct 2017 05:49:00 +0000</pubDate><atom:updated>2017-10-02T12:49:04.336+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">php</category><category domain="http://www.blogger.com/atom/ns#">php co ban</category><category domain="http://www.blogger.com/atom/ns#">thu thuat</category><title>Thủ thuật khi xử lý dữ liệu lớn bằng PHP</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Trong quá trình học và làm việc với ngôn ngữ lập trình&amp;nbsp;PHP, ắt hẳn bạn đã từng đau đầu khi gặp vấn đề cần xử lý dữ liệu lớn trong PHP&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Một vấn đề cụ thể thường thấy đó là khi bạn cần phải đọc một file dữ liệu lên đến hàng triệu dòng và insert dữ liệu này vào cơ sở dữ liệu. Vậy thì cách giải quyết vấn đề này như thế nào ?&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #23282d; font-family: &amp;quot;Palatino Linotype&amp;quot;; font-size: 1.5em; font-weight: inherit; margin: 0px 0px 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Đưa ra giải pháp xử lý dữ liệu lớn trong PHP&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Để giải quyết vấn đề xử lý dữ liệu lớn trong PHP thì chúng ta sẽ áp dụng thủ thuật chia để trị để xử lý dữ liệu lớn, tức là sẽ đọc từng phần của một file dữ liệu.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Mình lấy ví dụ bạn cần đọc một file dữ liêu là xml chứa 2 triệu dòng, việc đọc 1 lần và đưa dữ liệu vào cơ sở dữ liệu sẽ làm chậm hệ thống và rất mất thời gian, bởi lẽ khi đọc 2 triệu dòng dữ liệu, hệ thống của bạn phải dành hết công suất để đọc 2 triệu dòng này, khiến cho hệ thống phải chờ để xử lý, do vậy làm ảnh hưởng đến những công việc khác đang cần chờ xử lý tiếp theo. Hơn nữa, đọc 1 lúc 2 triệu dòng dữ liệu và đưa vào cơ sở dữ liệu sẽ có thể gây chết hệ thống của bạn.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Chính vì thế, thay vì đọc 1 lúc 2 triệu dòng&amp;nbsp;&lt;a data-wpel-link=&quot;external&quot; href=&quot;https://en.wikipedia.org/wiki/Data&quot; rel=&quot;external noopener noreferrer&quot; style=&quot;border: 0px; color: #52c0d4; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline; zoom: 1;&quot; target=&quot;_blank&quot;&gt;dữ liệu&lt;/a&gt;, chúng ta có thể chia ra đọc thành từng phần theo từng khoảng thời gian khác nhau, chẳng hạn mỗi lần đọc khoảng 5 phút là nghỉ, rồi 5 phút tiếp theo lại đọc tiếp dòng dữ liệu tiếp theo trở đi, cứ thế đọc cho đến hết 2 triệu dòng dữ liệu. Giải pháp này sẽ giúp cho việc xử lý dữ liệu lớn trở nên dễ dàng và nhẹ nhàng hơn.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #23282d; font-family: &amp;quot;Palatino Linotype&amp;quot;; font-size: 1.5em; font-weight: inherit; margin: 0px 0px 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Thực thi giải pháp xử lý dữ liệu lớn trong PHP&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Ở phần trên mình đã đưa ra giải pháp. Trong phần này chúng ta sẽ tiến hành thực thi, hiện thực hóa giải pháp một các cụ thể hơn.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #23282d; font-family: &amp;quot;Palatino Linotype&amp;quot;; font-size: 1.2em; font-weight: inherit; margin: 0px 0px 1em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
a. Thuật toán&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Thuật toán để giải quyết vấn đề trên đó là với 2 triệu dòng dữ liệu trong file xml chúng ta sẽ làm như sau:&lt;/div&gt;
&lt;ol style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.6em 3em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.6em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;Set khoảng thời gian tối đã cho mỗi lần đọc là 5 phút&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.6em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;Sau khi đọc 5 phút, lưu lại vị trí index đã dừng&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.6em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;Tiếp tục đọc từ vị trí đã dừng&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.6em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;Lặp lại bước 1,2&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.6em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;Kiểm tra thời gian đọc nếu &amp;lt; 5 phút tức là đã đọc hết file dữ liệu xml&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.6em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;Dừng việc đọc dữ liệu&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #23282d; font-family: &amp;quot;Palatino Linotype&amp;quot;; font-size: 1.2em; font-weight: inherit; margin: 0px 0px 1em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
b. Tiến hành code hiện thực hóa vấn đề&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-eclipse crayon-font-monaco crayon-os-pc print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-59d1c5b08745d328969357&quot; style=&quot;background: rgb(253, 253, 253) !important; border-color: rgb(153, 153, 153) !important; border-image: initial; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; color: #23282d; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px !important; height: auto; line-height: 15px !important; margin: 12px 0px; outline: 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; text-size-adjust: none; vertical-align: baseline; width: 840px; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background: rgb(221, 221, 221) !important; border-bottom: 1px solid rgb(187, 187, 187) !important; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; font-style: inherit; font-weight: inherit; height: 18px !important; line-height: 18px !important; margin: 0px; outline: 0px; overflow: hidden; padding: 0px; position: relative; vertical-align: baseline; width: 838px; z-index: 4; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 4px !important; vertical-align: baseline; zoom: 1;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background: 0px center; border: 0px; float: right !important; font-family: inherit; font-style: inherit; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; outline: 0px; padding: 0px; position: absolute; right: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-mixed-highlight&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 4px !important; vertical-align: baseline; zoom: 1;&quot; title=&quot;Contains Mixed Languages&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-button crayon-nums-button crayon-pressed&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: rgb(188, 188, 188) !important; background-image: initial; background-origin: initial; background-position: -24px 0px; background-repeat: no-repeat; background-size: initial; border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Line Numbers&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) -24px -32px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-plain-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -48px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -112px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Copy&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 8px 0px 4px !important; vertical-align: baseline; zoom: 1;&quot;&gt;PHP&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background: 0px center; border: 0px; font-style: inherit; font-weight: inherit; height: auto !important; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-color: initial; border-radius: 0px; border-style: initial; border-width: 0px; box-shadow: none; color: black; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace !important; font-size: 12px !important; height: 604px; line-height: 15px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; white-space: pre; width: 838px; word-wrap: normal; z-index: 0; zoom: 1;&quot; wrap=&quot;soft&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background: 0px center; border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; overflow: hidden; padding: 0px; position: relative; vertical-align: baseline; width: 838px; z-index: 1; zoom: 1;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; clear: both; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; outline: 0px; padding: 0px !important; table-layout: auto !important; vertical-align: baseline; width: auto !important; zoom: 1;&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background: 0px center; border: none !important; font-style: inherit; font-weight: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; zoom: 1;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background: rgb(238, 238, 238) !important; border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 1px solid rgb(0, 128, 0) !important; border-top: 0px; font-size: 0.85em; font-style: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; zoom: 1;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background: 0px center; border: 0px; font-size: 12px !important; font-style: inherit; font-weight: inherit; line-height: 15px !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: nowrap; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-1&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-2&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-3&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-4&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-5&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-6&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-7&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-8&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-9&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-10&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-11&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
11&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-12&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
12&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-13&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
13&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-14&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
14&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-15&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
15&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-16&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
16&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-17&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
17&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-18&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
18&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-19&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
19&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-20&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
20&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-21&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
21&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-22&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
22&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-23&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
23&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-24&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
24&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-25&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
25&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-26&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
26&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-27&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
27&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-28&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
28&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-29&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
29&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-30&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
30&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-31&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
31&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-32&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
32&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-33&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
33&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-34&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
34&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-35&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
35&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-36&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
36&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-37&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
37&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-38&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
38&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08745d328969357-39&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
39&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background: 0px center; border: 0px; font-size: 0.85em; font-style: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; width: 812px; zoom: 1;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background: none !important; border: none !important; font-size: 12px !important; font-style: inherit; font-weight: inherit; line-height: 15px !important; margin: 0px; outline: 0px; overflow: visible; padding: 0px; tab-size: 4; vertical-align: baseline; white-space: pre; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-1&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-ta&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-2&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Lấy vị trí index hiện hành&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-3&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-t&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;get_continue_point&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-4&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$continue_point&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;file_get_contents&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-s&quot; style=&quot;border: 0px; color: rgb(8, 40, 251) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;&#39;continue_point.txt&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-5&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-6&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Lưu vị trí index vào file continue_point.txt&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-7&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-t&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;save_continue_point&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$continue_point&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-8&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;file_put_contents&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-s&quot; style=&quot;border: 0px; color: rgb(8, 40, 251) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;&#39;continue_point.txt&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$continue_point&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-9&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-10&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$max_time&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot; style=&quot;border: 0px; color: rgb(8, 40, 251) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// 300 giây = 5 phút&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-11&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$start_time&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Khởi tạo thời điểm bắt đầu chạy&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-12&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$running_time&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Khởi tạo thời gian chạy&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-13&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$continue_point&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;get_continue_poin&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Điểm chạy tiếp theo&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-14&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-15&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$xml&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;simplexml_load_file&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-s&quot; style=&quot;border: 0px; color: rgb(8, 40, 251) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;&quot;big_data.xml&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// File xml chứa 2 triệu dòng dữ liệu&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-16&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$run&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot; style=&quot;border: 0px; color: rgb(8, 40, 251) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-17&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Chạy vòng lặp đọc dữ liệu&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-18&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-st&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;foreach&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$xml&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$child_node&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-19&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$run&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-20&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Nếu vị trí chạy nhỏ hơn $continue_point thì bỏ qua&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-21&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$run&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;&amp;lt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$continue_point&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-22&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;crayon-st&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;continue&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-23&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-24&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Xử lý dữ liệu ở đây, chẳng hạn insert dữ liệu vào cơ sở dữ liêu&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-25&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// $sql = &quot;insert something to db&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-26&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-27&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Set thời điểm hiện tại của vòng lặp&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-28&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$running_time&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-29&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-30&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Nếu thời gian chạy quá thời gian cho phép thì thoát khỏi vòng lặp&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-31&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$running_time&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$start_time&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;&amp;gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$max_time&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-32&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;crayon-st&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-33&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-34&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-35&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-36&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-37&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;save_continue_point&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$run&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08745d328969357-38&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08745d328969357-39&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-ta&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #23282d; font-family: &amp;quot;Palatino Linotype&amp;quot;; font-size: 1.2em; font-weight: inherit; margin: 0px 0px 1em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
c. Giải thích&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Ở đoạn code trên mình khởi tạo 4 tham số là :&lt;/div&gt;
&lt;ol style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.6em 3em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.6em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$max_time : Số thời gian tối đa cho mỗi lần thực thi&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.6em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$start_time : Thời điểm bắt đầu xử lý&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.6em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$running_time : Thời điểm xử lý&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.6em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$continue : Vị trí index đã dừng và tiếp tục&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Khi vòng lặp foreach chạy và duyệt từng node của file xml và tiến hành đọc dữ liệu để lưu vào cơ sở dữ liệu, song song đó ta sẽ check xem thời gian vòng lặp chạy có quá thời gian tối đa cho phép là tối đa 5 phút hay không bằng đoạn code&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-eclipse crayon-font-monaco crayon-os-pc print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-59d1c5b087468045337357&quot; style=&quot;background: rgb(253, 253, 253) !important; border-color: rgb(153, 153, 153) !important; border-image: initial; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; color: #23282d; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px !important; height: auto; line-height: 15px !important; margin: 12px 0px; outline: 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; text-size-adjust: none; vertical-align: baseline; width: 840px; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background: rgb(221, 221, 221) !important; border-bottom: 1px solid rgb(187, 187, 187) !important; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; font-style: inherit; font-weight: inherit; height: 18px !important; line-height: 18px !important; margin: 0px; outline: 0px; overflow: hidden; padding: 0px; position: relative; vertical-align: baseline; width: 838px; z-index: 4; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 4px !important; vertical-align: baseline; zoom: 1;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background: 0px center; border: 0px; float: right !important; font-family: inherit; font-style: inherit; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; outline: 0px; padding: 0px; position: absolute; right: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-button crayon-nums-button crayon-pressed&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: rgb(188, 188, 188) !important; background-image: initial; background-origin: initial; background-position: -24px 0px; background-repeat: no-repeat; background-size: initial; border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Line Numbers&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) -24px -32px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-plain-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -48px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -112px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Copy&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 8px 0px 4px !important; vertical-align: baseline; zoom: 1;&quot;&gt;PHP&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background: 0px center; border: 0px; font-style: inherit; font-weight: inherit; height: auto !important; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-color: initial; border-radius: 0px; border-style: initial; border-width: 0px; box-shadow: none; color: black; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace !important; font-size: 12px !important; height: 79px; line-height: 15px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; white-space: pre; width: 838px; word-wrap: normal; z-index: 0; zoom: 1;&quot; wrap=&quot;soft&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background: 0px center; border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; overflow: hidden; padding: 0px; position: relative; vertical-align: baseline; width: 838px; z-index: 1; zoom: 1;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; clear: both; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; outline: 0px; padding: 0px !important; table-layout: auto !important; vertical-align: baseline; width: auto !important; zoom: 1;&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background: 0px center; border: none !important; font-style: inherit; font-weight: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; zoom: 1;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background: rgb(238, 238, 238) !important; border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 1px solid rgb(0, 128, 0) !important; border-top: 0px; font-size: 0.85em; font-style: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; zoom: 1;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background: 0px center; border: 0px; font-size: 12px !important; font-style: inherit; font-weight: inherit; line-height: 15px !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: nowrap; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b087468045337357-1&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b087468045337357-2&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b087468045337357-3&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b087468045337357-4&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
4&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background: 0px center; border: 0px; font-size: 0.85em; font-style: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; width: 819px; zoom: 1;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background: none !important; border: none !important; font-size: 12px !important; font-style: inherit; font-weight: inherit; line-height: 15px !important; margin: 0px; outline: 0px; overflow: visible; padding: 0px; tab-size: 4; vertical-align: baseline; white-space: pre; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b087468045337357-1&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Nếu thời gian chạy quá thời gian cho phép thì thoát khỏi vòng lặp&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b087468045337357-2&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$running_time&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$start_time&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;&amp;gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$max_time&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b087468045337357-3&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;crayon-st&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b087468045337357-4&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Nếu đã quá thời gian cho phép thì sẽ tiến hành thoát khỏi vòng lặp bằng lệnh break, sau khi thoát khỏi vòng lặp ta sẽ tiến hành lưu vị trí index đã dừng&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-eclipse crayon-font-monaco crayon-os-pc print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-59d1c5b08746b540690874&quot; style=&quot;background: rgb(253, 253, 253) !important; border-color: rgb(153, 153, 153) !important; border-image: initial; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; color: #23282d; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px !important; height: auto; line-height: 15px !important; margin: 12px 0px; outline: 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; text-size-adjust: none; vertical-align: baseline; width: 840px; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background: rgb(221, 221, 221) !important; border-bottom: 1px solid rgb(187, 187, 187) !important; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; font-style: inherit; font-weight: inherit; height: 18px !important; line-height: 18px !important; margin: 0px; outline: 0px; overflow: hidden; padding: 0px; position: relative; vertical-align: baseline; width: 838px; z-index: 4; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 4px !important; vertical-align: baseline; zoom: 1;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background: 0px center; border: 0px; float: right !important; font-family: inherit; font-style: inherit; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; outline: 0px; padding: 0px; position: absolute; right: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-button crayon-nums-button crayon-pressed&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: rgb(188, 188, 188) !important; background-image: initial; background-origin: initial; background-position: -24px 0px; background-repeat: no-repeat; background-size: initial; border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Line Numbers&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) -24px -32px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-plain-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -48px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -112px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Copy&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 8px 0px 4px !important; vertical-align: baseline; zoom: 1;&quot;&gt;PHP&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background: 0px center; border: 0px; font-style: inherit; font-weight: inherit; height: auto !important; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-color: initial; border-radius: 0px; border-style: initial; border-width: 0px; box-shadow: none; color: black; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace !important; font-size: 12px !important; height: 34px; line-height: 15px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; white-space: pre; width: 838px; word-wrap: normal; z-index: 0; zoom: 1;&quot; wrap=&quot;soft&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background: 0px center; border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; overflow: hidden; padding: 0px; position: relative; vertical-align: baseline; width: 838px; z-index: 1; zoom: 1;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; clear: both; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; outline: 0px; padding: 0px !important; table-layout: auto !important; vertical-align: baseline; width: auto !important; zoom: 1;&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background: 0px center; border: none !important; font-style: inherit; font-weight: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; zoom: 1;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background: rgb(238, 238, 238) !important; border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 1px solid rgb(0, 128, 0) !important; border-top: 0px; font-size: 0.85em; font-style: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; zoom: 1;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background: 0px center; border: 0px; font-size: 12px !important; font-style: inherit; font-weight: inherit; line-height: 15px !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: nowrap; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08746b540690874-1&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background: 0px center; border: 0px; font-size: 0.85em; font-style: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; width: 819px; zoom: 1;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background: none !important; border: none !important; font-size: 12px !important; font-style: inherit; font-weight: inherit; line-height: 15px !important; margin: 0px; outline: 0px; overflow: visible; padding: 0px; tab-size: 4; vertical-align: baseline; white-space: pre; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08746b540690874-1&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;save_continue_point&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$run&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Ở lần chaỵ code lần 2, khi chạy lại toàn bộ đoạn code trên, chúng ta sẽ tiến hành kiểm tra xem các vị trí đã đọc rồi thì bỏ qua và không đọc nữa bằng câu lệnh continue và như vậy code sẽ chỉ chạy từ thời điểm dừng $continue_point trở đi mà thôi&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-eclipse crayon-font-monaco crayon-os-pc print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-59d1c5b08746e058871965&quot; style=&quot;background: rgb(253, 253, 253) !important; border-color: rgb(153, 153, 153) !important; border-image: initial; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; color: #23282d; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px !important; height: auto; line-height: 15px !important; margin: 12px 0px; outline: 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; text-size-adjust: none; vertical-align: baseline; width: 840px; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background: rgb(221, 221, 221) !important; border-bottom: 1px solid rgb(187, 187, 187) !important; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; font-style: inherit; font-weight: inherit; height: 18px !important; line-height: 18px !important; margin: 0px; outline: 0px; overflow: hidden; padding: 0px; position: relative; vertical-align: baseline; width: 838px; z-index: 4; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;border: 0px; color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 4px !important; vertical-align: baseline; zoom: 1;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background: 0px center; border: 0px; float: right !important; font-family: inherit; font-style: inherit; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; outline: 0px; padding: 0px; position: absolute; right: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-button crayon-nums-button crayon-pressed&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: rgb(188, 188, 188) !important; background-image: initial; background-origin: initial; background-position: -24px 0px; background-repeat: no-repeat; background-size: initial; border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Line Numbers&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) -24px -32px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-plain-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -48px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -112px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Copy&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px center; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline; width: 24px; zoom: 1;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(&amp;quot;../images/toolbar/buttons.png&amp;quot;) 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; outline: 0px; padding: 0px; position: absolute; top: 9px; vertical-align: baseline; width: 24px; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;border: 0px; color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 8px 0px 4px !important; vertical-align: baseline; zoom: 1;&quot;&gt;PHP&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background: 0px center; border: 0px; font-style: inherit; font-weight: inherit; height: auto !important; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-color: initial; border-radius: 0px; border-style: initial; border-width: 0px; box-shadow: none; color: black; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace !important; font-size: 12px !important; height: 64px; line-height: 15px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; white-space: pre; width: 838px; word-wrap: normal; z-index: 0; zoom: 1;&quot; wrap=&quot;soft&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background: 0px center; border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; overflow: hidden; padding: 0px; position: relative; vertical-align: baseline; width: 838px; z-index: 1; zoom: 1;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; clear: both; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; outline: 0px; padding: 0px !important; table-layout: auto !important; vertical-align: baseline; width: auto !important; zoom: 1;&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background: 0px center; border: none !important; font-style: inherit; font-weight: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; zoom: 1;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background: rgb(238, 238, 238) !important; border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 1px solid rgb(0, 128, 0) !important; border-top: 0px; font-size: 0.85em; font-style: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; zoom: 1;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background: 0px center; border: 0px; font-size: 12px !important; font-style: inherit; font-weight: inherit; line-height: 15px !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: nowrap; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08746e058871965-1&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-59d1c5b08746e058871965-2&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-59d1c5b08746e058871965-3&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline; zoom: 1;&quot;&gt;
3&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background: 0px center; border: 0px; font-size: 0.85em; font-style: inherit; margin: 0px !important; outline: 0px; padding: 0px !important; vertical-align: top !important; width: 819px; zoom: 1;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background: none !important; border: none !important; font-size: 12px !important; font-style: inherit; font-weight: inherit; line-height: 15px !important; margin: 0px; outline: 0px; overflow: visible; padding: 0px; tab-size: 4; vertical-align: baseline; white-space: pre; zoom: 1;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08746e058871965-1&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-c&quot; style=&quot;border: 0px; color: rgb(9, 113, 9) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;// Nếu vị trí chạy nhỏ hơn $continue_point thì bỏ qua&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-59d1c5b08746e058871965-2&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$run&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;&amp;lt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;$continue_point&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-59d1c5b08746e058871965-3&quot; style=&quot;background: 0px center; border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;crayon-st&quot; style=&quot;border: 0px; color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: bold !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;continue&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #23282d; font-family: &amp;quot;Palatino Linotype&amp;quot;; font-size: 1.5em; font-weight: inherit; margin: 0px 0px 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Kết luận&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Bài viết này mình chia sẽ một thủ thuật nho nhỏ giúp bạn xử lý dữ liệu lớn trong PHP. Đây là một thủ thuật rất có ích cho bạn trong quá trình làm việc với các hệ thống lớn và yêu cầu xử lý dữ liệu lớn&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Thủ thuật này sẽ làm giảm tại áp lực lên hệ thống của bạn, giúp nó chạy mượt và đỡ tốn thời gian đợi hơn.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #23282d; font-family: Tahoma; font-size: 15px; margin-bottom: 0.5em; outline: 0px; padding: 0px; vertical-align: baseline; zoom: 1;&quot;&gt;
Chúc các bạn thành công !&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2017/10/thu-thuat-khi-xu-ly-du-lieu-lon-bang-php.html</link><author>noreply@blogger.com (Victor)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2967089978306358715.post-1260636561051373859</guid><pubDate>Sun, 01 Oct 2017 08:33:00 +0000</pubDate><atom:updated>2017-10-02T12:49:31.713+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">word-excel</category><title>Đọc số ra chữ trong Excel</title><description>&lt;b&gt;( Khởi nghiệp với Internet)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;Trong công tác quản lý nói chung, khi thao tác trên bảng tính excel&amp;nbsp;đôi khi bạn cần&amp;nbsp;đọc số tiền thành chữ và viêc này lập&amp;nbsp;đi lặp lại nhiều lần.&amp;nbsp;Để tránh mất công phải nhiều lần gõ số tiền bằng chữ bạn có thể sử dụng công cụ vnTool cài vào máy tính. Tuy nhiên, nếu theo cách này thì khi bạn copy file&amp;nbsp;excel sang máy khác chưa&amp;nbsp;được cài vnTool thì phần&amp;nbsp;đọc số có thể bị lỗi và rất bất tiện.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;Mình xin chia sẻ cách như sau:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;- Trong bảng&amp;nbsp;excel&amp;nbsp;đang làm, bạn bấm tổ hợp phí Alt + F11 (hoặc vào menu Tool/Macro/Visual Basic Editor...&amp;nbsp;đối với&amp;nbsp;Office 2003)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;- Cửa sổ Microsoft Visual Basic hiện ra, bạn vào memu&amp;nbsp;Insert/Module&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;a href=&quot;http://i.imgur.com/DndCYgN.jpg&quot; imageanchor=&quot;1&quot; style=&quot;color: #999999; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;https://i.imgur.com/DndCYgN.jpg&quot; style=&quot;border: 1px solid rgb(230, 228, 228); height: auto; max-width: 100%; padding: 3px; transition: all 0.7s ease;&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;Sau&amp;nbsp;đó hãy copy&amp;nbsp;đoạn code (mã) sau&amp;nbsp;đây (chữ màu xanh) và past vào vùng trống &amp;nbsp;bên phải rồi lưu lại:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Private Function Doc(so As String) As String&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim j As Integer, i As Integer&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim s1 As String, s2 As String&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; s1 = &quot;10&quot; + so&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; j = Len(so)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; s2 = &quot;&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; For i = 3 To j + 2&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Select Case Mid(s1, i, 1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;0&quot;:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Select Case (j - i + 2) Mod 3&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 0: If j = 1 Then s2 = &quot; kh&quot; + ChrW(244) + &quot;ng&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 1:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If Mid(s1, i + 1, 1) &amp;lt;&amp;gt; &quot;0&quot; Then s2 = s2 + &quot; l&quot; + ChrW(7867)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 2:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If Mid(s1, i + 1, 2) &amp;lt;&amp;gt; &quot;00&quot; Then s2 = s2 + &quot; kh&quot; + ChrW(244) + &quot;ng&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Select&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;1&quot;:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Select Case (j - i + 2) Mod 3&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 0:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c = Mid(s1, i - 1, 1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If c &amp;lt;&amp;gt; &quot;0&quot; And c &amp;lt;&amp;gt; &quot;1&quot; Then&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; s2 = s2 + &quot; m&quot; + ChrW(7889) + &quot;t&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Else: s2 = s2 + &quot; m&quot; + ChrW(7897) + &quot;t&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 1: s2 = s2 + &quot; m&quot; + ChrW(432) + ChrW(7901) + &quot;i&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 2: s2 = s2 + &quot; m&quot; + ChrW(7897) + &quot;t&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Select&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;2&quot;: s2 = s2 + &quot; hai&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;3&quot;: s2 = s2 + &quot; ba&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;4&quot;: s2 = s2 + &quot; b&quot; + ChrW(7889) + &quot;n&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;5&quot;:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If ((j - i + 2) Mod 3 = 0 And Mid(s1, i - 1, 1) &amp;lt;&amp;gt; &quot;0&quot;) Then&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; s2 = s2 + &quot; l&quot; + ChrW(259) + &quot;m&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Else: s2 = s2 + &quot; n&quot; + ChrW(259) + &quot;m&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;6&quot;: s2 = s2 + &quot; s&quot; + ChrW(225) + &quot;u&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;7&quot;: s2 = s2 + &quot; b&quot; + ChrW(7843) + &quot;y&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;8&quot;: s2 = s2 + &quot; t&quot; + ChrW(225) + &quot;m&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;9&quot;: s2 = s2 + &quot; ch&quot; + ChrW(237) + &quot;n&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Select&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Select Case (j - i + 2)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 1, 4, 7, 10, 13:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c = Mid(s1, i, 1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If c &amp;lt;&amp;gt; &quot;1&quot; And c &amp;lt;&amp;gt; &quot;0&quot; Then s2 = s2 + &quot; m&quot; + ChrW(432) + ChrW(417) + &quot;i&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 2, 5, 8, 11, 14:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If Mid(s1, i, 1) &amp;lt;&amp;gt; &quot;0&quot; Or Mid(s1, i + 1, 2) &amp;lt;&amp;gt; &quot;00&quot; Then s2 = s2 + &quot; tr&quot; + ChrW(259) + &quot;m&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 3, 12: If Mid(s1, i - 2, 3) &amp;lt;&amp;gt; &quot;000&quot; Then s2 = s2 + &quot; ng&quot; + ChrW(224) + &quot;n&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 6: If Mid(s1, i - 2, 2) &amp;lt;&amp;gt; &quot;00&quot; Then s2 = s2 + &quot; tri&quot; + ChrW(7879) + &quot;u&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 9: s2 = s2 + &quot; t&quot; + ChrW(7881)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Select&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Next&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Doc = Trim(s2)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &#39;Doc = UCase(Mid(s2, 1, 1)) + Mid(s2, 2, Len(s2) - 1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;End Function&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Private Function DocRoi(so As String) As String&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim i As Integer&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim c As String * 1&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim s As String&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; s = &quot;&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; For i = 1 To Len(so)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c = Mid(so, i, 1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Select Case c&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;0&quot;: s = s + &quot;kh&quot; + ChrW(244) + &quot;ng &quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;1&quot;: s = s + &quot;m&quot; + ChrW(7897) + &quot;t &quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;2&quot;: s = s + &quot;hai &quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;3&quot;: s = s + &quot;ba &quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;4&quot;: s = s + &quot;b&quot; + ChrW(7889) + &quot;n &quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;5&quot;: s = s + &quot;n&quot; + ChrW(259) + &quot;m &quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;6&quot;: s = s + &quot;s&quot; + ChrW(225) + &quot;u &quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;7&quot;: s = s + &quot;b&quot; + ChrW(7843) + &quot;y &quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;8&quot;: s = s + &quot;t&quot; + ChrW(225) + &quot;m &quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;9&quot;: s = s + &quot;ch&quot; + ChrW(237) + &quot;n &quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case &quot;.&quot;, &quot;,&quot;: s = s + &quot;ph&quot; + ChrW(7849) + &quot;y &quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Select&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DocRoi = Trim(s)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Next&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;End Function&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Public Function SoTien(so As String, Optional donvi As String = 0) As String&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Select Case donvi&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 0: donvi = &quot;&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 1: donvi = &quot; &quot; + ChrW(273) + ChrW(7891) + &quot;ng&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 2: donvi = &quot; &quot; + ChrW(273) + ChrW(7891) + &quot;ng ch&quot; + ChrW(7861) + &quot;n&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 3: donvi = &quot; VND&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 4: donvi = &quot; USD&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 5: donvi = &quot; GBP&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; End Select&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; so = Trim(Str(Round(Val(so), 0)))&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; SoTien = Doc(so) + &quot; &quot; + Trim(donvi)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; SoTien = UCase(Mid(SoTien, 1, 1)) + Mid(SoTien, 2, Len(SoTien) - 1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;End Function&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Private Function XuLy(so As String) As String&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim j As Byte, i As Byte&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim c As String * 1&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim d As Boolean&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim s1 As String&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; d = False&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; For j = 1 To Len(so)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If Mid(so, j, 1) &amp;lt; &quot;0&quot; Or Mid(so, j, 1) &amp;gt; &quot;9&quot; Then&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; d = True&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c = Mid(so, j, 1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i = j&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Next&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; s1 = &quot;&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; For j = 1 To Len(so)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If Mid(so, j, 1) &amp;gt;= &quot;0&quot; And Mid(so, j, 1) &amp;lt;= &quot;9&quot; Then s1 = s1 + Mid(so, j, 1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If j = i Then s1 = s1 + &quot;,&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Next&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; XuLy = s1&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;End Function&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Public Function DocSo(so As String, Optional k As Byte = 0) As String&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim s1 As String, s2 As String&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim i As Integer&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &#39;so = Trim(Str(Val(so)))&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; so = XuLy(so)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; i = 1&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Do&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; s1 = s1 + Mid(so, i, 1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i = i + 1&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Loop Until i = Len(so) + 1 Or Mid(so, i, 1) &amp;lt; &quot;0&quot; Or Mid(so, i, 1) &amp;gt; &quot;9&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; For j = i + 1 To Len(so)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If Mid(so, j, 1) &amp;gt;= &quot;0&quot; And Mid(so, j, 1) &amp;lt;= &quot;9&quot; Then s2 = s2 + Mid(so, j, 1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Next j&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; If s1 = &quot;&quot; Then Exit Function&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; If k = 0 Then&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DocSo = Doc(s1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Else: DocSo = DocRoi(s1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; End If&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; If s2 &amp;lt;&amp;gt; &quot;&quot; Then&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If k = 0 Then&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DocSo = DocSo + &quot; ph&quot; + ChrW(7849) + &quot;y &quot; + Doc(s2)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Else: DocSo = DocSo + &quot; ph&quot; + ChrW(7849) + &quot;y &quot; + DocRoi(s2)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;For i = 1 To Len(s2)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39; &amp;nbsp; &amp;nbsp;DocSo = DocSo + &quot; &quot; + Doc(Mid(s2, i, 1))&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;Next i&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; End If&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; If Len(DocSo) &amp;gt; 1 Then&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DocSo = UCase(Mid(DocSo, 1, 1)) + Mid(DocSo, 2, Len(DocSo) - 1)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; End If&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;End Function&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;a href=&quot;http://i.imgur.com/4v3tR4R.jpg&quot; imageanchor=&quot;1&quot; style=&quot;color: #999999; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;140&quot; src=&quot;https://i.imgur.com/4v3tR4R.jpg&quot; style=&quot;border: 1px solid rgb(230, 228, 228); height: auto; max-width: 100%; padding: 3px; transition: all 0.7s ease;&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;Cuối cùng, hãy&amp;nbsp;đóng cửa sổ Microsoft Visual Basic&amp;nbsp;đi và trở về bảng tính.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;- Ok, bây giờ trong bảng tính này, chỗ nào bạn muốn gõ ra số tiền bằng chữ bạn chỉ việc gõ công thức sau:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;=sotien(X) với X là&amp;nbsp;địa chỉ&amp;nbsp;ô có chứa số tiền bằng số.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;VD:&amp;nbsp;địa chỉ&amp;nbsp;ô A2 trong bảng tính có số tiền là: 1.000.000&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;nếu tại&amp;nbsp;ô A3 bạn gõ công thức: =sotien(A2) lập tức sẽ cho ra &quot;Một triệu&amp;nbsp;đồng&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Veranda, Times, &amp;quot;Times New Roman&amp;quot;; font-size: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif;&quot;&gt;Chúc các bạn thành công!&lt;/span&gt;&lt;/div&gt;
&lt;i&gt;Blog tổng hợp những kinh nghiệm được học, áp dụng và chia sẻ&lt;/i&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://khoinghiepinternet.blogspot.com/&quot;&gt;Blog Khởi nghiệp thành công với Internet&lt;/a&gt;&lt;/div&gt;</description><link>http://khoinghiepinternet.blogspot.com/2017/10/oc-so-ra-chu-trong-excel.html</link><author>noreply@blogger.com (Victor)</author></item></channel></rss>