Welcome Guest, Not a member yet? Register   Sign In
need help
#1

[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=&lt;?=$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("locationConfusedelect.php");
}

but how it done in codeigniter
plz help me
#2

[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=$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("locationConfusedelect.php");
}

but how it done in codeigniter
plz help me
#3

[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=&lt;?php echo $row['id'];?&gt;">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("locationConfusedelect.php");
}

but how it done in codeigniter
plz help me
#4

[eluser]InsiteFX[/eluser]
Why are you posting in multiple forums?

This question was already answered in the other forum.

Enjoy
InsiteFX
#5

[eluser]Tom Schlick[/eluser]
read the userguide... it explains it all. or watch the getting started with codeigniter series over at nettuts.com
#6

[eluser]Derek Allard[/eluser]
I've merged all your threads and put them into the correct forum. You only need to post once, we'll see it sir.




Theme © iAndrew 2016 - Forum software by © MyBB