SHARE
TWEET

Untitled

a guest Dec 6th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Декодим полученный запрос в ассоциативный массив
  2. while ($row = mysql_fetch_assoc($rmfile)) {
  3.     // Удаляем файлы
  4.     foreach ($row as $key => $value) {
  5.         unlink('/img/'.$value.'jpg');
  6.         // Ну и логируем для себя
  7.         echo $key." = ".$value
  8.     }
  9. }
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