Current File : /home/digitaw/Ycof/admin/sendsante.php
<?php  
 
    $beneficiaire=$_POST['beneficiaire']; 
    $taux=$_POST['taux'];
    $nom=$_POST['nom'];
    $prenom=$_POST['prenom'];
    $mail=$_POST['mail'];
    $tel=$_POST['phone'];
    $localite=$_POST['localite'];
    require'configuration.php';
   // faire un insert des informations en post dans la table assurancevoyage
    $sql="INSERT INTO assurancesante(beneficiaire,nom,prenom,mail,tel,taux,localite) 
                    VALUES ('$beneficiaire','$nom','$prenom','$mail','$tel','$taux','$localite')";

   $result = $connection->query($sql); 
    
?>