query("SELECT travelgoout,ttype FROM travelgo,travelmas WHERE travelgo.travelcode = travelmas.travelcode and travelgo.travelgosdate > '". Date("Y-m-d") ."' and travelgo.tdeadline='1' and travelgo.b2conline='1' and (travelgo.countryid='014' or travelgo.countryid='016') and travelgo.showfull='N' and travelgo.okcount > travelgo.resultcount and travelmas.ttype='1' order by travelgono"); while($rec_tour=$mysql_tpe->fetchRow($res)) { $arr=split(",",$rec_tour['travelgoout']); for($i=0;$ifreeResult($res); ?>