I'm doing the same loop on the page and outputting the recordset. e.g. image1.jpg image2.jpg, image3.jpg - so it looks like it's fine.
It will only delete one, it's like the loop isn't looping.
I pull the post statement out like below, still didn't work.
$WA_DeleteFileResult1 = false;
$WA_DeleteFileResult1 = WA_FileAssist_DeleteFile("../../pawpics_gallery/".$_SESSION['pawsid'] ."/", "".$row_photosRS['PhotoFilename'] ."");
} while ($row_photosRS = mysql_fetch_assoc($photosRS));