git=resim&islem=sil gibi bir linke çevirin. sonra get ile islemden gelen veriyi kontrol edip aynı if else kullanarak sildirirsiniz.