SHARE
TWEET

Untitled

a guest Oct 10th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top