[eluser]pankaj.sharma[/eluser]
hiiii
i am new to codeigniter
i have done fatch data form database ssuccefully
but how i delete row respective to id
plz help me
in core coading i am doing...
<a href="selection.php?todo=<?php echo $row['id'];?>">Delete</a>
and at the top of the program
if(isset($_REQUEST['todo']))
{
$id = $_REQUEST['todo'];
mysql_query("delete from formtable where id = '".$_GET['REQUEST']."' ");
header("location

elect.php");
}
but how it done in codeigniter
plz help me