Advertisement
Guest User

Untitled

a guest
Oct 10th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.94 KB | None | 0 0
  1.  <?php
  2.              for($i=0;$i < count($_SESSION['User']['PaymentRequests']); $i++)
  3.              {
  4.                ?>
  5.                 <tr>
  6.                    <?php echo(' <td><input id="chkRequestPayment ' . $i . '" type="checkbox" value="' . $paymentRequestID . '" onclick="handleCheck(this,this.value);"></td>');?>
  7.                     <td><?php echo $_SESSION['User']['PaymentRequests'][$i]['DateRequested'];?></td>
  8.                     <td><?php echo $_SESSION['User']['PaymentRequests'][$i]['Username'];?></td>
  9.                     <td><?php echo $_SESSION['User']['PaymentRequests'][$i]['LabelName'];?></td>
  10.                     <td>£<?php echo $_SESSION['User']['PaymentRequests'][$i]['RequestedAmount'];?></td>
  11.                 </tr>
  12.             <?php
  13.  
  14.     <script>
  15.         function handleCheck(checkbox)
  16.         {
  17.             window.location = "../application/controllers/Account.php?ExportRequests&i="  + checkbox;
  18.         }
  19.     </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement