1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| <input type="submit" value="OK" id="ok_news" onClick="<?
$date_insc = date("j/n/Y, g:i:s");
if($info=="oui")
{
foreach ($produits as $projet_choix)
{
if ($projet_choix!="") {$offres=$offres.$projet_choix.", ";}
if ($projet_choix=="Mutuelle santé"){$RGE=1;}
if ($projet_choix=="Garantie des accidents de la vie"){$GAV=1;}
............
..............
}
$query_clients = "INSERT INTO clients_inscription (idInscrip,IDCLIENT, mailinscri, origine, dateinsc, info_offres,SANTE,SB,MRH,PLACEMENTS_FINANCIERS,PLACEMENTS_IMMOBILIERS,GAV,DECES,AUTO,EPARGNE,SANTE_COLLECTIVE) values ('','$id','$news_email','Site ECA/Offres ECA-Assurances','$date_insc','$offres','$RGE,'$SB','$MRH','$PLACEMENTS_REG,'$PLACEMENTS_SREG,'$GAV','$SCC,'$NTE,'$FEE,'$REG_COLLECTIVE')";
$result_clients = mysql_query($query_clients) or die("5".$query_clients());
}
?>"> |
Partager