[eluser]wizzer[/eluser]
Thanks for the replies,
Here i smy view code
Code:
<table width="650" class="showData" cellpadding="2">
<tr style="background-color:#999999"><th>UserName</th><th>Role</th><th>Active</th><th>Edit</a></th><th>Delete</th><th>Access Level</th></tr>
<?
foreach($userList as $entry): ?>
<tr>
<td width="40%"><?=$entry['Email'];?></td>
<td style="text-align:center"><?=$entry['Roles'];?></td>
<td style="text-align:center"><?=$entry['Active'];?></td>
<td><a href="[removed]editDetails('<?=$entry['UserID'];?>','<?=$entry['Email'];?>','<?=$entry['RegDate'];?>','<?=$entry['Active'];?>','<?=$entry['Roles'];?>');"><img width='16' height='16' border='0' style="margin-left:auto;margin-right:auto;display:block">config->item('base_url');?>images/edit.gif'/></a></td>
<td><a href="[removed]deleteDetails('<?=$entry['UserID'];?>');"><img style="margin-left:auto;margin-right:auto;display:block" width='16' height='16' border='0'>config->item('base_url');?>images/delete.gif'/></a></td>
<td><a href="[removed]accessLevel('<?=$entry['UserID'];?>');"><img style="margin-left:auto;margin-right:auto;display:block" width='16' height='18' border='0'>config->item('base_url');?>images/level.gif'/></a></td>
</tr>
<?php endforeach; ?>
<tr><td><?echo $this->pagination->create_links();?></td></tr>
</table>
I have checked that $config['uri_segment'] = 3 which is correct for my urls