De Clan opgeven | \n"; if(isset($_POST['delete'])) { $dbres = mysql_query("SELECT `login` FROM `[users]` WHERE `clan`='". $data['clan'] ."' OR `clan`='{$data['clan']}-[recruit]'"); while($member = mysql_fetch_assoc($dbres)) mysql_query("UPDATE `[users]` SET `clan`='',`clanlevel`=0 WHERE `clan`='". $data['clan'] ."' OR `clan`='{$data['clan']}-[recruit]'"); mysql_query("DELETE FROM `[clans]` WHERE `name`='". $data['clan'] ."'"); ?>
De Clan is opgeheven |