tried adding this to my delete option in my gallerys
but am getting this error
Warning: unlink() [function.unlink]: Unable to access
have tried a few other variations as you can see.
all i want is to be able to delete the image file lol .
Code:
$imageurl = mysql_fetch_array(mysql_query("SELECT imageurl, uid FROM dave_usergallery WHERE id='".$whoimage."'")); $delpath = "$imageurl[0]"; unlink($delpath); // unlink("$imageurl[0]");
Warning: unlink() [function.unlink]: Unable to access
have tried a few other variations as you can see.
all i want is to be able to delete the image file lol .
Comment