Herkes nasıl indeed.com gibi php ile sayfalama yapmak bana yardım et.
Note: 1. page view is : 1,2,3,4, .... 2. But ?start=10, ?start=20, ...
Şöyle ilkedir:
$total = 40; // total item count $itemsPerPage = 10; $pages = ceil($total / $itemsPerPage); echo '<ul>'; for ($i = 0; $i < $pages; ++$i) { echo '<li><a href="?start=' . ($i * $itemsPerPage) . '">' . ($i + 1) . '</a></li>'; } echo '</ul>';