DELETE FILE - only if field is not empty
Hi,
I need so more trigger.
It is up to the user if he uploads an image. So the field can be blank.
I the user wants to delete his account I need to delete the images, too, IF there is one.
So, I need a trigger, if the
<?php echo $row_imageName['image']; ?>
is empty or not, and then the button pressed trigger.
how does that work?
Denis