#################################
######## DB SELECTOR ############
#################################
#####################################
### THE FORM ###################
#####################################
######################################
########### END FORM #################
######################################
######################################
######### START FUNCTIONS ############
######################################
// Check if delete button active, start this
if($delete){
for($i=0;$i<$count;$i++){
$del_id = $checkbox[$i];
$del = "DELETE FROM news_rap WHERE id='$del_id'";
$result = mysql_query($del);
}
// if successful redirect to delete_multiple.php
if($result){
echo "";
}
}
mysql_close();
?>