PS:'type_mission ' c'est la barre principale et elle marche parfaitement et les autres les seconds
<?php
if(isset($_POST["Valider"]))
{
mysql_connect('localhost','root','');
mysql_select_db('mission');
$type_mission=$_POST["type_mission"];
$type2='';
if(isset($_POST["Accompany_Croissance"])){
($type2=$_POST["Accompany_Croissance"]); }else
if(isset($_POST["Accompany_Performance"])){
($type2=$_POST["Accompany_Performance"]);}else
if(isset ($_POST["Accompany_Pilotage"])){
($type2=$_POST["Accompany_Pilotage"]);}else
if(isset ($_POST["Accompany_Risk_Management"])){
($type2=$_POST["Accompany_Risk_Management"]);}
else if( isset($_POST["Accompany_Systéme_D'information"])) {
($type2=$_POST["Accompany_Systéme_D'information"]);}
$req=("INSERT into miss (miss_type1,miss_type2)
VALUES ('$type_mission','$type2')");
mysql_query($req) or exit('Erreur SQL ligne '.__LINE__.' : '.mysql_error());
}
?>
merci d'avance pour votre aide