| Server IP : 167.99.254.82 / Your IP : 216.73.216.76 Web Server : Apache System : Linux host.techisquad.com 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/factures/public_html/ |
Upload File : |
<?php
session_start();
$link = mysqli_connect("localhost", "c0adveryinvoices", "hwvTZJ7_4","c0adveryinvoices") or die("Impossible de se connecter : " . mysqli_error());
$req = "select * from article_service where id_art_serv = $_POST[radios_as]";
$exec = mysqli_query($link,$req);
$res = mysqli_fetch_assoc($exec);
$pr = $res['prix_ht'];
$reponse = "INSERT INTO detail_bc VALUES(id_detail ,'$_SESSION[r_devis]' , $_POST[radios_as] ,$_POST[qte] , $_POST[remise], $pr);";
mysqli_query($link,$reponse);
header('Location: Detail-BC.php');
exit();
?>