//for checking email in database
$check="select id from subscribe where email='$email');
$check_result=mysql_query($check, $conn);
*/when i asked my friend for help how to delete entries he gave the next:
$Id= mysql_result($check_result, 0, "id");
/*
what does the above script mean exactly?
then i logically put the next it works but the meaning of the mentioned line.
$sql="delete from subscribe where id='$id');
$result=mysql_query($sql, $conn);
Bekzod