Thank you. I have gotten it to work partially. I get the file deleted off the server, but I also need to delete the file name that is stored in the database. So I have:
<?php
$WA_DeleteFileResult1 = false;
if(isset($_POST["deleteImage"])){
$WA_DeleteFileResult1 = WA_FileAssist_DeleteFile("../images/details/", "".((isset($_POST["ItemImage"]))?$_POST["ItemImage"]:"") ."");
}?>
But, ItemImage still contains the file name. The file has been successfully deleted from the server. How do I delete the value stored in ItemImage as well? I suspect I need another command to put a NULL value in ItemImage or something to update ItemImage to nothing. Could you help me out with that?