Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include "header.php";
- include "userProcess.php";
- ?>
- <body>
- <?php $results = mysqli_query($db, "SELECT * FROM topup"); ?>
- <table class="table table-striped">
- <thead>
- <tr class="table-active">
- <th scope="col">NO</th>
- <th scope="col">NAME</th>
- <th scope="col">PHONE NUMBER</th>
- <th scope="col">USERNAME</th>
- <th scope="col">SUBSCRIPTION</th>
- <th scope="col">PAYMENT SLIP</th>
- <th scope="col">ACTION</th>
- </tr>
- </thead>
- <tbody>
- <?php while ($row = mysqli_fetch_array($results)) { ?>
- <tr>
- <th scope="row"><?php echo $row['id']; ?></th>
- <td><?php echo $row['name']; ?></td>
- <td><?php echo $row['phoneNumber']; ?></td>
- <td><?php echo $row['username']; ?></td>
- <td><?php echo $row['subscription']; ?></td>
- <td><a href="/uploads/<?php echo $row['paymentSlip']; ?>"><?php echo $row['paymentSlip']; ?></a></td>
- <td>
- <a href="action send topup ticket to customer">Accept</a>
- <a href="userProcess.php?del=<?php echo $row['id']; ?>" class="btn btn-danger">Reject</a>
- </td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
- <?php
- include "footer.php";
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement