Shouldn't this be: <td><?php echo anchor("auth/deactivate/".$user->id, 'Deactivate') ;?></td>