Hi,
i would to do a little advance php file delete coding that does a check if any other records are using that image file before it deletes.
How would i modify it?
$myFile = "upldimg/".$_GET['thumb_filename']; unlink($myFile);
i assume you have some field in your database that stores the filename? if so then run a query that checks for the incoming filename before you unlink.
thanks...I figured out the query. 🙂