= UC_MODERATOR) { $where = ''; } $do="DELETE FROM requests WHERE ".$where." id IN (" . implode_type_check(",", $_POST['delreq'], 'int') . ")"; $do2="DELETE FROM addedrequests WHERE ".$where." requestid IN (" . implode_type_check(",", $_POST['delreq'], 'int') . ")"; $res2=do_mysql_query($do2) or die($do.'
'.mysql_error()); $res=do_mysql_query($do) or die($do.'
'.mysql_error()); header("Refresh: 0; url=requests.php"); ?>