Delete query on  rg.php