I'm currently doing the same thing and it works great. My question is, how would you go about deleting the image files associated with the photo table?
I added a delete behavior with Digital Assist Pro to do this and it works great. But it will only delete 1 image from the folder. How would I go about delete multiple files with that behavior?
I tried this, but it still would only delete 1 image from the folder.
<?php
do {
$WA_DeleteFileResult1 = false;
if(isset($_POST["DeleteGallery_x"])){
$WA_DeleteFileResult1 = WA_FileAssist_DeleteFile("../../pawpics_gallery/".$_SESSION['pawsid'] ."/", "".$row_photosRS['PhotoFilename'] ."");
}
} while ($row_photosRS = mysql_fetch_assoc($photosRS));
?>
Thanks