View/Download File

userUpdaterTest.php
<?php
$data = [
    1 => 1000,
    5 =>  300,
    9 =>  200,
];
$stmt = $pdo->prepare('UPDATE users SET bonus = bonus + ? WHERE id = ?');
foreach ($data as $id => $bonus)
{
    $stmt->execute([$bonus, $id]);
}
?>

Download File - From Media Manager

integration_guide-ach_jh-pivotal.pdf