supprAppareil.php 365 Bytes
<?php
if(isset($_GET['ip'])){
	include("connexion.php");
	$ip = $_GET['ip'];
	$requete =
	include("connexion.php");
	$requete = "DELETE FROM equipement WHERE
		ip='$ip'";
	$exec_requete = mysqli_query($db,$requete);
	$reponse = mysqli_fetch_array($exec_requete);
	echo "<meta http-equiv=\"refresh\" content=\"0;url=gestionAppareil.php\">";
	mysqli_close($db);
}
?>