I don't know how to embed bootstrap confirm delete code inside anchor code of CodeIgniter.
foreach($books as $row)
{
//Add each result row into table
$this->table->add_row(
$row['fname'],
$row['email'],
$row['pass'],
$row['image'],
anchor('welcome/remove_rcrd/'.$row['id'], 'delete'),
anchor('welcome/edit/'.$row['id'], 'Edit'));
}
I want to add bootstrap confirmation box when I click delete anchor or link