I have code-generated pages that are put in a folder on the server. How to implement in php so that here is the directory in which these heap of pages lie, it was possible to bring it to the page I needed, and so that they were displayed for example, 16 pieces each, and the bottom was back and forth, and pages 1 2 3.
- That is, you have .html files in your folder and you need to show them on the same page with sorting and pagination? - koks_rs
- @koks_rs Is this possible to implement? - Pavel
- Use readdir and simple pagination through the selection of part of the array. - ilyaplot
- @ilyaplot You can write a simple example, I just started learning php. - Pavel
- php.net/manual/ru/function.scandir.php Here is an example - ilyaplot
|
