You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
-
T
Cái này dùng để phân trang danh sách các phần tử trong 1 mảng. Vd dưới mình để phân trang danh sách ảnh có trong thư mục image .:
<?php
$folder = 'image/';
$read = opendir($folder);
$arr = array();
// dùng vòng lặp để đưa danh sách file ảnh vào mảng
while ($file =...