Skip to Content
PHPCODE
CodeIgniter Pagination Serial Numbers
codeigniter code / August 5, 2018

Pagination Serial Number in Codeigniter

step 1: created view in function

<?php
if(count($articles)):
$count=$this->uri->segment(3,0);
foreach($articles as $article):?>
<tr>
<td><?= ++$count;?></td>

PHPCODE © 2024