This topic is locked

manuel edit

10/10/2009 6:28:07 AM
PHPRunner General questions
D
danaci author

hi,

I want the user changed checking line.
my table
sno integer

name varchar

adress varcahar

---
my button code

<INPUT class=button onclick="frmAdmin.a.value='xx'; frmAdmin.submit(); return false;" type=button value="manuel edit">

---
BeforeDelete event is
if(@$_REQUEST["a"]=="xx")

{
header("location: ana_edit.php?editid1=".$_REQUEST["ID"]);

exit();

}

return true;
this code is not working.

ana_edit.php?editid1=???

???= blank

J
Jane 10/12/2009

It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.

D
danaci author 10/12/2009

problem is solved.
my table
sno integer

name varchar

adress varcahar

---
my button code

<INPUT class=button onclick="frmAdmin.a.value='xx'; frmAdmin.submit(); return false;" type=button value="manuel edit">

---
BeforeDelete event is
global $dal;
if(@$_POST["a"]=="xx")
{

$id2=explode("=",$where);
header("Location: ana_edit.php?editid1=". $id2[1]);

exit();

}
return true;