Login

Username:

Password: 

Join us Now |  Forgot Password? | Forgot UserName?

PHP

Learn step by step



Delete Data in mysql table

To delete data from table Mysql_query(query) are used
in query argument we provide a mysql query to delete data from table Like delete from table where name="abc"

<?php
//delete.php
include "db.inc.php";
$order = "DELETE FROM data_employees
WHERE employees_number='$id'";
mysql_query($order);
header("location:edit.php");
?>


Related Videos