Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- for($i=0;$i < count($_SESSION['User']['PaymentRequests']); $i++)
- {
- ?>
- <tr>
- <?php echo(' <td><input id="chkRequestPayment ' . $i . '" type="checkbox" value="' . $paymentRequestID . '" onclick="handleCheck(this,this.value);"></td>');?>
- <td><?php echo $_SESSION['User']['PaymentRequests'][$i]['DateRequested'];?></td>
- <td><?php echo $_SESSION['User']['PaymentRequests'][$i]['Username'];?></td>
- <td><?php echo $_SESSION['User']['PaymentRequests'][$i]['LabelName'];?></td>
- <td>£<?php echo $_SESSION['User']['PaymentRequests'][$i]['RequestedAmount'];?></td>
- </tr>
- <?php
- <script>
- function handleCheck(checkbox)
- {
- window.location = "../application/controllers/Account.php?ExportRequests&i=" + checkbox;
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement