Location: PHPKode > scripts > WebsiteMemberManager > members-section/admin/php/paypal-pay-options.php
<?php
$dbc = dbc::instance();
$result = $dbc->prepare("SELECT * FROM wmm_paypal_items where id=$id");
$rows = $dbc->executeGetRows($result);
$row=$rows[0];
include("paypal-pay-options.html");
?>
<script>
document.PPF.item_name.value="<?php echo $row['item_name']; ?>";
document.PPF.amount.value="<?php echo $row['amount']; ?>";
document.PPF.tax.value="<?php echo $row['tax']; ?>";
document.PPF.type.value="<?php echo $row['type']; ?>";
document.PPF.duration.value="<?php echo $row['duration']; ?>";
document.PPF.id.value="<?php echo $id; ?>";
</script>
Return current item: WebsiteMemberManager