<?php include "../include/validsession.inc"; include "../include/opendb.inc"; //************** $CodeIns = $_REQUEST["CodeIns"]; $fromInsD = $_REQUEST["fromInsD"]; $Sql = "Delete FROM inscriptions where CodeIns = " . $CodeIns ; $rsQuery = mySql_query($Sql); mySql_error(); $Sql = "Delete FROM payments where CodeIns= " . $CodeIns ; $rsQuery = mySql_query($Sql); mySql_error(); if ($fromInsD == "L") { Header("Location: ListeIns.php?CodeM=". $_REQUEST["CodeM"] .""); } else { Header("Location: RechercherIns.php?CodeA=". $_REQUEST["CodeA"] ."&Groupe=".$_REQUEST["Groupe"].""); } ?>