<?include "conninfo.php";

//print_r($_POST);

$id=$_POST["theid"];

$query="DELETE FROM people WHERE id=$id LIMIT 1";
//echo $query;
$result=mysqli_query($link,$query);

header("location:showall.php");
?>