[eluser]LuckyFella73[/eluser]
hi ozy123,
your table rows are generated via a loop I guess.
Whithin that loop you have 2 possibilities. The first
one is build the delete anchors like
Code:
<a href="<?php echo base_url();?>controller/delete/<?php echo $row->id;?>">delete</a>
The id would be the related id from your database row. In your controller method you
would make a delete function (or better in your model) using that id you
get from the URI segment.
The second way is to build a form in every singel row, storing the row->id
in a hidden input field. All forms would point to the same controller/method
where you read the id value via input->post('id') and delete the row that way.
Best regards