prepare($sql); $stmt->bindParam(':id', $_GET['id']); $stmt->execute(); $result = $stmt->fetch(PDO::FETCH_ASSOC); // echo '
';
// print_r($result['bonus_json']);
// echo '
'; $bonus_json = json_decode($result['bonus_json']); $paykind = [ 'monthly' => '月繳', 'bimonthly' => '雙月繳', 'quarterly' => '季繳', 'semiannually' => '半年繳', 'annually' => '年繳' ]; $maintain_type = [ 'new' => '新簽約', 'free_to_charge' => '免保轉有費', 'renew_priceissue' => '續簽約' ]; ?>

獎金計算