On this page, there are two behavior buttons, one is "modify" and the other is "delete".
Click "Modify", no problem; as shown in:
Click "Delete" after the jump page no data record, in fact, in the browsing page has not been seen.
Press normal to jump to the official delete page, and then click the Delete button below the corresponding record bar, to complete the deletion, so that is right?
The question is, where is it?
Reply to discussion (solution)
What are the deleted query statements?
if ((Isset ($_get[' id ')) && ($_get[' id ']! = ")) {
$deleteSQL = sprintf (" DELETE from Price WHERE id=%s ",
getsqlvaluestring ($_get[' id ']," text "));
mysql_select_db ($database _myconn, $myconn);
$Result 1 = mysql_query ($deleteSQL, $myconn) or Die (Mysql_error ());
}
$colname _recordset1 = "1";
if (isset ($_get[' id ')) {
$colname _recordset1 = (GET_MAGIC_QUOTES_GPC ())? $_get[' id ']: addslashes ($_get[' id ') );
}
mysql_select_db ($database _myconn, $myconn);
$query _recordset1 = sprintf ("SELECT * from price WHERE id =%s", $colname _recordset1);
$Recordset 1 = mysql_query ($query _recordset1, $myconn) or Die (Mysql_error ());
$row _recordset1 = Mysql_fetch_assoc ($Recordset 1);
$totalRows _recordset1 = mysql_num_rows ($Recordset 1);
if (Isset ($_gte[' id ')) {
$query _recordset1 = sprintf ("SELECT * from price WHERE id =%s", $colname _recordset1);
}else{
$query _recordset1 = "SELECT * from Price WHERE 1=1";
}
if (Isset ($_gte[' id ')) {
$query _recordset1 = sprintf ("SELECT * from price WHERE id =%s", $colname _recordset1);
}else{
$query _recordset1 = "SELECT * from Price WHERE 1=1";
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The big God, the younger brother still did not understand.
I'm guessing you just executed the deletion code.
I'm guessing you just executed the deletion code.
QQ Bar
Edit page:
Delete
To delete a page:
if ($_post) {
is a form submission, performing a delete
}else {
Get deleted records by $_get[' id '], generate delete page
}