Blame view

html/supprAppareil.php 365 Bytes
46de4374   lwadbled   feat(gestionAppar...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  <?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);
  }
  ?>