Delete phpmysqldelete data records. When you click delete connection, the system will get the id of the current entry, and then the program will get the current id to delete the entry .? Php Tutorial include (conn. php); $ queryselect * fromneworderb operation will get the id of the current entry when you click delete connection, and then the program will get the current id for deletion.
Include ("conn. php ");
$ Query = "select * from new order by id desc ";
$ Res = mysql tutorial _ query ($ query );
While ($ rows = mysql_fetch_array ($ res) {// split the query results into the $ rows array.
?>
Title: |
"> [Delete] |
[Modify] |
Del. php code
$ Del = "delect from test where id in ($ tid )";
$ Res = mysql_query ($ del );
If ($ res ){
Echo "deleted successfully ";
} Else {
Echo "failed to delete ";
}
?>
Bytes. ? Php Tutorial include (conn. php); $ query = select * from new order B...