ob_start(); if(empty($_SERVER['QUERY_STRING'])) { include("http://feed.tournamentmonitor.com/MyPokerFeed.aspx?feedId=91&".$_SERVER["QUERY_STRING"]); } else { include("http://feed.tournamentmonitor.com/MyPokerFeed.aspx?".$_SERVER["QUERY_STRING"]); } $tmlist = ob_get_contents(); ob_end_clean();