servers'; $gamesa=safe_query("SELECT tag, name FROM ".PREFIX."games ORDER BY name"); while($dv=mysql_fetch_array($gamesa)) { $games.=''; } if($_GET['action']=="add") { echo'
'; } elseif($_GET['action']=="edit") { $serverID = $_GET['serverID']; $ergebnis=safe_query("SELECT * FROM ".PREFIX."servers WHERE serverID='".$serverID."'"); $ds=mysql_fetch_array($ergebnis); $games=str_replace(' selected', '', $games); $games=str_replace('value="'.$ds[game].'"', 'value="'.$ds[game].'" selected', $games); echo''; } else { echo'