$value) { $data[$column] .= '|' . $tuple[$column]; } } $r=""; foreach($data as $key => $data_string) { $r.='&'.$key.'='.substr($data_string,1); } return substr($r,1); } include "connect.php"; if(isset($_REQUEST["gameidlogin"])) $gameidlogin = $_REQUEST["gameidlogin"]; else die("erro: gameidlogin requiered"); removeOldServersFromServerList(); $data = getServerlistForEM($gameidlogin); $other_output = ob_get_contents(); ob_end_clean(); echo $data; include "disconnect.php"; ?>