Guest User

Untitled

a guest
Mar 6th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. $query = mysqli_query($conn, "SELECT Voucher_Link FROM incentivevoucher");
  2. while ($row = mysqli_fetch_array($query)) {
  3. $result = $row['Voucher_Link'];
  4. $uploads = "voucher-inventory/";
  5. $files1 = scandir($uploads);
  6. $files = array_diff($files1, $result);
  7. }
  8. foreach ($files as $row2) {
  9. echo $uploads.$row2.'<br>';
  10. }
Add Comment
Please, Sign In to add comment