Select ("*", $base, $champ."='".$_POST['Domaine']."'", "", "", "", ""); if ( $VerifExistence == FALSE ) { $_SESSION['Resultat'] = "Ce (sous-) domaine n'existe pas"; $_SESSION['Lien'] = "Page-Dns-Suppression.html"; Redirect ('resultat.html'); } if ( $VerifExistence[0]["Status"] != "2" ) { $_SESSION['Resultat'] = "Ce (sous-) domaine n'est pas activé (ou deja en cours de suppression)"; $_SESSION['Lien'] = "Page-Dns-Suppression.html"; Redirect ('resultat.html'); } $MySql->Update ($base, "Status", "3", $champ."='".$_POST['Domaine']."'"); if($champ == "Domaine") { $MySql->Update ("sousdomainedns", "Status", "3", "Domaine='".$_POST['Domaine']."'"); } Redirect ('Page-Dns-Recapitulatif.html'); ?>