how ca i make a php function to delet a photo
this is the file theat show photos ....
<?php
$dir="../SV_uplod/";
if($opendir = opendir($dir))
{
while(($file = readdir($opendir)) !==FALSE)
{
if($file!="."&&$file!="..")
echo "<img src='$dir$file' width='200'><br>",$dir,$file;
}
}
?>
Please Help THX !