Hi, guys... it's possible make one template and show all pages in my html... i want paging items 5 in 5 but... first i have charge all pages in hmtl code... example:
<div class="item"> /*first page
<ul>
<li><a href="13">ITEM 1 </a></li>
<li><a href="12">ITEM 2</a></li>
<li><a href="7">ITEM 3 </a></li>
<li><a href="6">ITEM 4 </a></li>
<li><a href="5">ITEM 5 </a></li>
</ul>
</div>
<div class="item"> /*second page
<ul>
<li><a href="13">ITEM 6 </a></li>
<li><a href="12">ITEM 7</a></li>
<li><a href="7">ITEM 8 </a></li>
</ul>
</div>
2 pages i have write in html whithout query:
if(!isset($_GET['start']) || !is_numeric($_GET['start']) || (int)$_GET['start'] < 1) $_GET['start'] = 0;
$SQL_start = (int)$_GET['start'];
how i resolve this problem?