| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 
 |  
<?php
// Connexion 
-----------------------------------------------------------------------    
    // Insertion 
   $req = $bdd->prepare('UPDATE tournois SET genre = :genre, roomlive = :roomlive, buyin = :buyin, participant = :participant, classement = :classement, gains = :gains WHERE datation = :datation');
$req->execute(array(
					'genre' => $genre,
					'roomlive' => $roomlive,
					'buyin' => $buyin,
					'participant' => $participant,
					'classement' => $classement,
					'gains' => $gains,
					'datation' => $datation
					));
 
header('Location: index.php');
}
catch(Exception $e)
{
    die('Erreur : '.$e->getMessage());
}
?> | 
Partager