Modifier une facture
[insert_php]
try {
$bdd = new PDO(‘mysql:host=abassurcfxab.mysql.db;dbname=abassurcfxab;charset=utf8’, ‘abassurcfxab’, ‘TYm77GFPSzzg’);
} catch (PDOException $e) {
echo ‘‘;
die();
}
$id=$_GET[‘id’];
$user_ID = get_current_user_id();
$reponse = $bdd->query(‘SELECT * FROM wp_factures WHERE ID = ‘.$id);
$donnees = $reponse->fetch();
[/insert_php]