//on sélectionne le séjour dans la BDD if (!isset($_GET['id'])){ header('Location: bagages-perdus'); } $res_bag = $mysqli->query("SELECT * FROM bagages_perdus WHERE id_bag = '".$_GET['id']."'"); $ligne =$res_bag->fetch_object(); //on sélectionne la catégorie correspondante ?>