This is probably simple but I kinda stumped..
I have a dynamic list of images
$files=directory("../photos/","jpg,jpeg,Jpg,JPg,JPG");
foreach($files as $pic){?>
<img width="150" src="<?php echo $path.$pic;?>" align="bottom" />
<input type="button" name="Submit<? echo $ct?>" value="Delete" />
<?php echo $path.$pic;?><br/>
<?php }?>
There's got to be a simple way to have this button delete just that file